comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: CURVEFIT.PRO standard deviations?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: CURVEFIT.PRO standard deviations? [message #30632] Mon, 13 May 2002 15:12 Go to previous message
Ralf Flicker is currently offline  Ralf Flicker
Messages: 19
Registered: October 2001
Junior Member
William Thompson wrote:
>
[....]
> In the CURVEFIT program, the error bars are passed in through the
> WEIGHTS parameter in the calling sequence. There doesn't seem to be any
> way to make this optional. When you put in a WEIGHTS array of all ones,
> you're saying that the error in each point is +/- 1.0. If you put in
> more realistic weights, you'd get a more realistic error and
> chi-squared. With realistic weights, you should get a chi-squared of
> about one.

Yes, as Craig pointed out, I had overlooked the importance of the
weights and failed to set them to ~1/variance(data). Unfortunately,
in trying to find out what was wrong, I was confused further by
three fitting routines giving different answers for the same input.

Thanks y'all for your input, I'm just no statistics whiz kid :)


ralf
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Object Graphics when using 'stop'
Next Topic: Re: Matlab emacs package similar to idlwave

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:37:02 PDT 2025

Total time taken to generate the page: 2.94602 seconds