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

Home » Public Forums » archive » Re: Reduced chi-square goodness-of-fit statistic
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Reduced chi-square goodness-of-fit statistic [message #65027] Mon, 09 February 2009 18:31
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
lbusett@yahoo.it writes:

> try to take a look at this:
>
> http://www.dfanning.com/math_tips/sigma.html
>
> Not an expert on this, but maybe your problem is the one explained at
> the end of the page.

I've been learning to use R this week. It's possible
IDL isn't the preferred software for this kind of
analysis. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Reduced chi-square goodness-of-fit statistic [message #65034 is a reply to message #65027] Mon, 09 February 2009 14:35 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
giorgosioanno...@gmail.com wrote:
> But I don't really have to do anything with the errors. I hust give
> the data and the distribution, and IDL finds the parameters of the
> best curve fit and returns the reduced chisq.

In this case the absolute value of the reduced chi-square
is meaningless. You can still compare models (i.e. model
A "fits better" than model B if it has a lower chi-square in
the case of data with no error).

However, if your data is real world data, it will have
errors, and that is important information that you
should not neglect.

Ciao,
Paolo
Re: Reduced chi-square goodness-of-fit statistic [message #65048 is a reply to message #65034] Mon, 09 February 2009 09:06 Go to previous message
lbusett@yahoo.it is currently offline  lbusett@yahoo.it
Messages: 30
Registered: February 2006
Member
On 9 Feb, 16:59, giorgosioanno...@gmail.com wrote:
> But I don't really have to do anything with the errors. I hust give
> the data and the distribution, and IDL finds the parameters of the
> best curve fit and returns the reduced chisq.

Hi,

try to take a look at this:

http://www.dfanning.com/math_tips/sigma.html

Not an expert on this, but maybe your problem is the one explained at
the end of the page.

Hope this helps,

Lorenzo
Re: Reduced chi-square goodness-of-fit statistic [message #65050 is a reply to message #65048] Mon, 09 February 2009 07:59 Go to previous message
giorgosioannou84 is currently offline  giorgosioannou84
Messages: 2
Registered: February 2009
Junior Member
But I don't really have to do anything with the errors. I hust give
the data and the distribution, and IDL finds the parameters of the
best curve fit and returns the reduced chisq.
Re: Reduced chi-square goodness-of-fit statistic [message #65064 is a reply to message #65050] Sun, 08 February 2009 16:45 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
the reduced chi square is one if the error are accurate representation
of the errors in your data (with some assumption about their
distribution).
If you get chi-square much less than one, that means that you have
overestimated your errors.

Ciao,
Paolo

giorgosioanno...@gmail.com wrote:
> I got confused with the reduced chi-square goodness-of-fit statistic
> returned by the curvefit. Can anyone tell me what exactly this is? I
> had the impression that the fit is good when its value is near 1.
> However when I try to test it with some good fits I get really small
> values so I am not sure that what I thought is correct. For which
> values to we reject the good-fit hypothesis?
>
> In particular some of the data I have give me the following chi-
> square goodness-of-fit statistics after fitting them to a curve:
>
> chisq= 0.00018011358
> chisq= 0.00013042104
> chisq= 5.8597835e-005
>
> Are these good fits?
>
> And also what exactly is the unreduced chi-square goodness-of-fit
> statistic returned by the poly_fit and when do we reject the good-fit
> hypothesis there?
>
> Thanks,
> Giorgos
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Cursor in Mac OS X 10.5.6 w/X11 2.2.3 and 2.3.2
Next Topic: Re: How to get the center and radius for a x,y array

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

Current Time: Wed Oct 08 16:50:07 PDT 2025

Total time taken to generate the page: 0.00678 seconds