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

Home » Public Forums » archive » How to determine the WEIGHTS in MPFITFUN for distribution function fit?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to determine the WEIGHTS in MPFITFUN for distribution function fit? [message #55783] Thu, 06 September 2007 00:54
duxiyu@gmail.com is currently offline  duxiyu@gmail.com
Messages: 88
Registered: March 2007
Member
I have a set of data and want to use a function to fit its
distribution function.
I have downloaded the procedure MPFITFUN and MPFIT.

The data set is divided into many bins by a binsize.
X is the mean value of the data point in each bin, and Y is the
statistical count (or normalized) of the data point in each bin.

Then I want to use the function 'myfunt' to fit the X and Y, and
compute the parameter P for 'myfunt'.
For example: p = mpfitfun ( 'myfunt', X, Y, Yerror, start)
But I do not konw how to determine Yerror.
If Yerror is set to unity, the 1-sigma errors for the estimated
parameter P cannot be returned correctly from MPFITFUN.

Best regards,
jdu
[Message index]
 
Read Message
Previous Topic: Re: write_png missing on my mac (6.4)
Next Topic: IDL start very slow, if the network changed

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

Current Time: Fri Oct 10 07:26:40 PDT 2025

Total time taken to generate the page: 1.19768 seconds