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

Home » Public Forums » archive » fitting using maximum likelihood
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
fitting using maximum likelihood [message #87624] Wed, 19 February 2014 05:57 Go to next message
Mel[1] is currently offline  Mel[1]
Messages: 1
Registered: February 2014
Junior Member
Hello,

I need to fit a histogram with a gaussian using the maximum likelihood method.
Is there any routine that does this?

Thanks,
Mel
Re: fitting using maximum likelihood [message #87701 is a reply to message #87624] Sun, 23 February 2014 22:25 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Wednesday, February 19, 2014 8:57:33 AM UTC-5, Mel wrote:
>
> I need to fit a histogram with a gaussian using the maximum likelihood method.
> Is there any routine that does this?

Least squares is a kind of maximum likelihood optimization. There are plenty of routines for that, like MPFITFUN or CURVEFIT.

I guess you mean you have your own likelihood function which is not least squares. There is no real ready-made IDL routines for that. You have to rely on general routines like CONSTRAINED_MIN, AMOEBA, etc.

Craig
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: calling MRT Swath from IDL
Next Topic: cgHistoplot dashed histogram

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

Current Time: Wed Oct 08 13:31:21 PDT 2025

Total time taken to generate the page: 0.00473 seconds