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

Home » Public Forums » archive » Re: MPFIT Chance probability
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: MPFIT Chance probability [message #71420] Mon, 21 June 2010 11:15 Go to next message
Fermiona Fermiona is currently offline  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 Go to previous messageGo to next message
Craig Markwardt is currently offline  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 Go to previous message
Craig Markwardt is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Convert 3D to 1D, apply fuction then convert back to 3D
Next Topic: Routines for reading grib2 and BUFR

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

Current Time: Wed Oct 08 19:47:35 PDT 2025

Total time taken to generate the page: 0.00478 seconds