Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: On errors c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 5508 of 6261
Post > Topic >>

Re: On errors calculated by curve-fitting routines

by Gernot Hassenpflug <gernot@[EMAIL PROTECTED] > Mar 11, 2008 at 06:35 PM

Craig Markwardt <craigmnet@[EMAIL PROTECTED]
> writes:

> Gernot Hassenpflug <gernot@[EMAIL PROTECTED]
> writes:
>> I'd just like to ask, since I cannot quite tell if I have grasped the
>> ideas from Numeric Recipes correctly (and so my own IDL code for
>> comparison with the others may be incorrect): the covariance matrix
>> calculation uses the basis functions (e.g., 1, x, x^2) and the
>> variances of the dependent (y) variable, but *not* the dependent
>> variable itself nor any quantitative measures of the goodness of the
>> fitting process (presumably the variances of the dependent variable
>> are supposed to contain all such information in theory).
>
> That is the formal definition of the covariance matrix, assuming the
> measurement uncertainties are appropriate.

Thank you, it seems that as far as that goes, I have understood
(formally) the issue well enough that IDL and my hand-done
calculations give the same output. Hoorah!

>> I ask this because other methods, such as that used by Maple, seem to
>> scale their result by the residual sums of squares, for example. I am
>> still awaiting the book by Bevington (can only get 1st edition from
>> library services, so need to purchase 2nd edition) and the one by
>> Himmelblau from 1970 which is the basis of the Maple method.
>
> This approach *could* be appropriate.  The reasoning is that although
> the fit is formally of bad quality -- indicated by a statistically
> unacceptable chi-square value -- you *assume* that the fit is good.
> You do this by multiplying the uncertainties by SQRT(CHI^2 / DOF),
> which produces a modified reduced chi-square value of 1.  That may not
> always be appropriate, and it depends mostly upon scientific
> judgement.

OK, I will have to read up more on that, just received Bevington's
First Edition today, and got the later edition on the weekend to
peruse. Very nice easy-to-follow explanatory chapters on what I need
to fill in the gaps in my understanding.

It is funny how after I left IDL for a while to enjoy the ease of the
GUI and object graphics manipulation in Maple, and the symbolic maths
of Mathematica, I come back to IDL for the features that are either
not in the other programs or only available separately at a further
fee. I guess that is the world of commercial applications, and there
is no excuse for not understanding how the undelrying maths and
statistics works.
-- 
BOFH excuse #371:

Incorrectly configured static routes on the corerouters.
 




 7 Posts in Topic:
On errors calculated by curve-fitting routines
Gernot Hassenpflug <ge  2008-03-06 12:08:49 
Re: On errors calculated by curve-fitting routines
Anthony <anthonysmith8  2008-03-06 00:51:40 
Re: On errors calculated by curve-fitting routines
Gernot Hassenpflug <ge  2008-03-07 11:25:49 
Re: On errors calculated by curve-fitting routines
Craig Markwardt <craig  2008-03-06 22:53:16 
Re: On errors calculated by curve-fitting routines
Gernot Hassenpflug <ge  2008-03-07 14:08:42 
Re: On errors calculated by curve-fitting routines
Craig Markwardt <craig  2008-03-08 13:27:16 
Re: On errors calculated by curve-fitting routines
Gernot Hassenpflug <ge  2008-03-11 18:35:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 21:05:24 CDT 2008.