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
 reduced chi-sqr

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
sterw Posted - 05/09/2008 : 05:55:18 AM
Origin Version : 8 SR1
Operating System: XP

In the NLFit dialog under the Settings -> Advanced tab there is a checkbox for using the reduced chisqr in the parameter error estimation. It is checked by default. Although I would prefer it not to be checked by default, more importantly I would like an indication in the results sheet whether or not it was checked during the fitting. At present I cannot find that out afterwards.

Thanks, Wim.
6   L A T E S T    R E P L I E S    (Newest First)
shpak27 Posted - 03/22/2013 : 05:32:41 AM
Thank you Sam, think I get it.
Cheers
Sam Fang Posted - 03/21/2013 : 11:15:18 PM
If you use weight in fitting, you'd better set Use reduced chi-sqr unchecked because fitted parameter's error can reflect the magnitude of the weight in this way.

In fact you can try the following case:
1. Set Use reduced chi-sqr checked.
2. Multiply the weight for each point by a factor 10.
3. You will find the standard error of parameter is the same as that when the weight is not multiplied.

This means if Use reduced chi-sqr is checked, fitted parameter's standard error can only show the effect of relative magnitude among weights, and it can't show the effect of the magnitude of each point's weight.

This issue may be similar to the last reply in the post:
http://www.originlab.com/forum/topic.asp?TOPIC_ID=18272

Sam
OriginLab Technical Services
shpak27 Posted - 03/21/2013 : 3:23:44 PM
I have similar situation. I am fitting the data to exponential decay with instrumental weights of errors of Y. Depending on checked or unchecked box of Use reduced chi-sqr I get the same values but different errors for parameters I introduce. It is normal because in the first case (Use reduced chi-sqr checked) the diagonal values of the correlation matrix, i.e. the errors of the parameters, are multiplyed by s^2, that is Chi/DoF and are higher than the errors obtained with the option Use reduced chi-sqr unchecked. Up to her everything is clear.
My question is: what is the correct way from the mathematical point of view? Because it is not the same to have 300+-30 ms of the half-life for a nucleus (instrumental weights and box Use reduced chi-sqr checked) than 300+-5 ms (instrumental weights and box Use reduced chi-sqr (instrumental weights and box Use reduced chi-sqr unchecked). It is clear that one prefers the second option becasuse the error is much smaller and physically more acceptable. But is this the way to do it? Is it correct just to choose smaller errors and that is all? There should be an explanation. Does anybody have it? I think that if I use instrumental weights for the errors it is not necessary to include the reduced chi-square but I can proove mathematically.

Thanks in advance.
greg Posted - 05/14/2008 : 3:32:44 PM
Reduced-Chi-Square is Chi-Square divided by the degrees of freedom, always, no exception. ( Except that we sometimes say Chi-Square when what we really, really mean is Reduced-Chi-Square )

When you are fitting, we report an error value for each parameter.

When there is no weighting involved, that error is the square root of the product of Reduced-Chi-Square and the appropriate diagonal element of the Variance-Covariance matrix. (Internal unless explicitly requested.)

This is the same case when you DO fit with a weight and you check to use Reduced-Chi-Square in error calculations. But if that box is NOT checked, then the error is just the square root of the appropriate diagonal element of the Variance-Covariance matrix.

Hope this makes it a little clearer.

ahlers01 Posted - 05/10/2008 : 01:49:13 AM
Hi!
Maybe I'm hijacking this thread, but I have a question relating to the reduced chi square.
Basically I have problems understanding its definition. In the online help (under 'Linear Regression Dialog') I find:
"Available when fit with weight, This check box only affects the error on the parameters reported from the fitting process, and does not affect the fitting process or the data in any way. By default, it is checked, and the covariance matrix is calculated by: σ(X'X)^-1, othervise, (X'X)^-1."
And under the link "http://www.originlab.com/www/support/resultstech.aspx?ID=710&language=English&Version=All" I read:
"Origin reports a reduced chi-square value after a nonlinear regression has been performed. This value is the Chi-Square divided by DOF where degrees of freedom is (N-P). N being number of data points and P being number of parameters in the fitting function that is being used...."

Please forgive my ignorance, but I cannot see immediately why these should be the same definitions.


-Franz
easwar Posted - 05/09/2008 : 09:57:48 AM
Hi Wim,

Thank you for pointing this out. We will look into adding a footnote.

For now, if your output is set with Recalculate of Auto or Manual, you can bring back the dialog by clicking on the lock in the output and select Change Parameters, and the dialog will then load with the settings you had used when the operation was performed.

Easwar
OriginLab



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