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
 Individual Chi Test Terms and Nonlinear Fitting

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
dchris Posted - 01/31/2008 : 02:14:06 AM
Origin Version (Select Help-->About Origin): OriginPro 8 SR1
Operating System: Windows XP

Hello,

I'm wondering if it's possible to display individual chi values when doing non-linear curve fitting.

The idea is that the chi^2 is the sum of the individual chi_i's, squared, where i is an index number. More specifically,

chi_i = ((y_fit - y_data)/sigma_y

It's just the residual from the fit divided by the data point's instrumental uncertainty (I usually fit with the "Instrumental" setting in Origin).

What would really be nice is to be able to get these individual residuals that have been normalized and be able to plot them so that they can be visualized. Squaring of the chi_i's would also be nice, but isn't too critical. Thanks for your help.
1   L A T E S T    R E P L I E S    (Newest First)
larry_lan Posted - 02/01/2008 : 12:52:00 AM
Hi David:

As you can see from the help, the chi-square minimization algorithm is defined as:



When you use the "Instrumental" weight, we have:



So the formula turns into:



Where sigma_i is the yErr column values. Traditionally, when the fit is done, we can evaluate the results by residual analysis, and the residuals can be normalized, or standardized by the error of the model:



Where r_i is the individual residual value and s is the square root of "mean residual variance" (Error Mean Square):



You can select to output such plots as follow:



As I know, the Chi-square test requires a sufficient sample size in order for the chi-square approximation to be valid. So I am not sure whether the individual Chi value makes sense, and we have no such output. Anyway, you can always manually do that by "Set Column Values". Make sure to output the Regular residuals:



And then compute the individual chi value you mentioned by:





Thanks
Larry
OriginLab Technical Services

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