Re: MPFIT Chance probability [message #71420] |
Mon, 21 June 2010 11:15  |
Fermiona Fermiona
Messages: 17 Registered: June 2010
|
Junior Member |
|
|
Sorry I wasn't clear!
I meant the probability that the chi-square value I got from the fit
was a result of chance.
So if I used mpfit would the chance prob. be MPCHITEST(bestnorm/
dof,dof)?
Thank you again!
|
|
|
Re: MPFIT Chance probability [message #71434 is a reply to message #71420] |
Sun, 20 June 2010 18:10   |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Jun 20, 2:42 pm, Fermiona Fermiona <fermion...@gmail.com> wrote:
> Hello,
>
> Can I get the chance probability using MPFIT?
It's unclear which "chance probability" you mean.
I supply a routine on my web-site called MPCHITEST, which gives the
probability of a chi-square distribution to exceed a certain value,
such as your fit value. One can also set limits using MPCHILIM.
After MPCHITEST was written, IDL also published their own routines
such as CHISQR_PDF, CHISQR_CVF, etc.
Happy fitting,
Craig Markwardt
|
|
|
Re: MPFIT Chance probability [message #71507 is a reply to message #71420] |
Mon, 21 June 2010 22:20  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Jun 21, 2:15 pm, Fermiona Fermiona <fermion...@gmail.com> wrote:
> Sorry I wasn't clear!
>
> I meant the probability that the chi-square value I got from the fit
> was a result of chance.
>
> So if I used mpfit would the chance prob. be MPCHITEST(bestnorm/
> dof,dof)?
The function contains documentation and examples, you know...
Craig
|
|
|