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

Home » Public Forums » archive » Re: Fitting a function with multiple independent variables
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: Fitting a function with multiple independent variables [message #43624 is a reply to message #43617] Wed, 20 April 2005 01:06 Go to previous message
maarten is currently offline  maarten
Messages: 30
Registered: April 2002
Member
Hello,

You can use the built in routine curvefit.
cheers maarten

Sean Davis wrote:
> Hello all,
>
> I am currently trying to fit a function with multiple independent variables.
> I have used IDL's REGRESS routine, which does a multiple linear regression,
> such as fits to something like:
>
> Y = 5 + 3*X1 - 4*X2
>
> But what if I want one of my independent variables to vary non-linearly,
> like
>
> Y = 5 + 3*X1^2 - 4*X2
>
> (I assume this is called non-linear regression?)
>
> I've heard of Craig M.'s fitting library, so I suppose I should look there.
> But for the record, are there any built-in programs in IDL to do this???
>
> Thanks,
> Sean
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: !p.multi for iplot
Next Topic: deleting a window created with envi_info_wid

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

Current Time: Tue Dec 02 21:09:17 PST 2025

Total time taken to generate the page: 0.96107 seconds