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 #43609] Wed, 20 April 2005 13:02 Go to previous message
Sean Davis is currently offline  Sean Davis
Messages: 19
Registered: August 1999
Junior Member
Problem Solved!!!

A Big thanks to Craig M. and his fitting routines!!!
http://cow.physics.wisc.edu/~craigm/idl/idl.html

Specifically, I downloaded MPFITFUN.pro and MPFIT.pro

-Sean

maarten wrote:

> 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: Sat Oct 11 06:01:05 PDT 2025

Total time taken to generate the page: 0.56675 seconds