The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Customize Regression Output

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
VolkerPresser Posted - 04/13/2006 : 12:32:16 PM
Origin Version (Select Help-->About Origin): 7.5714(B714)
Operating System: WinXP

Hi there,

I try to customize the output of a self-defined function:

y=P1*(1-erf((x/10000)/(4*P2*P3)^0.5))

but I cannot figure out how to do two things...

1. How can I expand the regression curve to a certain area? As default origin only fits within the margins of the data present but does not expand e.g. until x = 0. Is there a possibility to alter the fdf-file in order to do so?

2. How can I customize the "parameter output window"? Currently it says the following:


--------------------------------
Data: Data1_B
Model: ErrorFunction
Weighting:
y No weighting

Chi^2/DoF = 30227.43416
R^2 = 0.40544

P1 = 856.067 +- 768.70181
P2 = 3.5957E-11 +- 1.223E-11
P2 = s 2592000 +- 51560
--------------------------------


and I want the output to look like:

--------------------------------
Data: Data1_B
Model: ErrorFunction
Based on NAR97

R^2 = 0.40544

C0 [ppm] = 856.067 +- 768.70181
D [cm^2/s]= 3.5957E-11 +- 1.223E-11
t [s] = 2592000 +- 51560
--------------------------------


Thank you for your help in advance :)
2   L A T E S T    R E P L I E S    (Newest First)
VolkerPresser Posted - 04/14/2006 : 02:56:57 AM
that did it thx a lot

Mike Buess Posted - 04/13/2006 : 4:59:34 PM
I think what you want can be done on the After Fit scripts window. If you can't find that window click the More button and select Scripts > After Fit.

1. In the Fit Curve section at the top select Uniform X and enter the limits over which you want the curve to stretch.

2. Uncheck the Write Parameters to Results Log option and check Enabled. Then enter the following script in the box below. Perform your fit as usual and when you click Done the results log should be filled as you like.

savered=type.redirection;
type.redirection=16;
type.beginresults();
%A=nlsf.fitdata$;
ty "Data: %A";
%A=nlsf.func$;
ty "Model: %A";
ty "Based on NAR97";
ty; ty "R^2 = $(nlsf.cor^2)";
ty; ty "CO [ppm] = $(nlsf.p1)\t+/- $(nlsf.e1)";
ty "D [cm^2/s] = $(nlsf.p2)\t+/- $(nlsf.e2)";
ty "t [s] = $(nlsf.p3)\t+/- $(nlsf.e3)";
separator 3;
type.endresults();
type.redirection=savered;

Mike Buess
Origin WebRing Member

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000