Home »
Public Forums »
archive »
the problem of PERROR in MPFITFUN
the problem of PERROR in MPFITFUN [message #53089] |
Thu, 15 March 2007 02:17 |
duxiyu@gmail.com
Messages: 88 Registered: March 2007
|
Member |
|
|
In my work, independent variable X is time and measured dependent
variable Y is magnetic field. The instrument do not give the measured
error.
Do I use 1 in MPFITFUN for errors of Y?
Is the PERROR useless at this time?
I do not understand the following paragraph in the instructions of
MPFITFUN.
Who can give me some explanations for it?
; *If* you can assume that the true reduced chi-squared
; value is unity -- meaning that the fit is implicitly
; assumed to be of good quality -- then the estimated
; parameter uncertainties can be computed by scaling PERROR
; by the measured chi-squared value.
;
; DOF = N_ELEMENTS(X) - N_ELEMENTS(PARMS) ; deg of
freedom
; PCERROR = PERROR * SQRT(BESTNORM / DOF) ; scaled
uncertainties
Best regards,
Du Jian
|
|
|
Current Time: Fri Oct 10 10:25:03 PDT 2025
Total time taken to generate the page: 1.51867 seconds