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

Home » Public Forums » archive » Maximum likelihood fitting of an exponential fitting function in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Maximum likelihood fitting of an exponential fitting function in IDL [message #91592 is a reply to message #91591] Tue, 04 August 2015 10:27 Go to previous messageGo to previous message
Bill Nel is currently offline  Bill Nel
Messages: 31
Registered: October 2010
Member
On Tuesday, August 4, 2015 at 12:01:41 PM UTC-4, Madhavan Bomidi wrote:
> Dear All,
>
> I have an exponential decay function as defined below:
>
> FUNCTION tfunct,X,E
> T = EXP(-((1000.0d*X)^E[1])/E[0])
> RETURN,T
> END
>
> I was using MPFITFUN to get the fitting coefficients. Though this is working fine, I find that the fitting line is deviating away from the more likelihood points in the case when there were some outliers. Can I know if there is a maximum likelihood fitting function in IDL so that I can get the fitting line close to more number of points?
>
> Look forward to your suggestions,
>
> Thanking you,
> With regards,
> Madhavan

You might try taking the log of your data before fitting it (to a line).

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: calling C++ code from IDL
Next Topic: EOF analysis

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

Current Time: Wed Oct 08 18:18:43 PDT 2025

Total time taken to generate the page: 0.00475 seconds