How to do least sqares with IDL? [message #32370] |
Mon, 07 October 2002 01:25  |
Weimin Wang
Messages: 7 Registered: October 2002
|
Junior Member |
|
|
Dear Sir,
Is there any linear least sqares pro and minimizing absolute deviation
pro in IDL?I search it in Reference manual,But get nothing.
Thanks you sincerely.
--
Best Regards,
Weimin Wang
Institute of Geo. Sci. &
Nature Resource Research,CAS
Beijing,100101,China
Tel:86-10-64889762-5
Fax:86-10-64858099
|
|
|
Re: How to do least sqares with IDL? [message #32465 is a reply to message #32370] |
Mon, 07 October 2002 08:09  |
Weimin Wang
Messages: 7 Registered: October 2002
|
Junior Member |
|
|
I have the pro for minmizing absolute deviation in IDL.That is,"LADFIT:
Fits paired data using least absolute deviation method.".I think it is do
regression with MAD(minimizing absolute deviation).Do you?
About MAD,you can search it with google.There are many reference on
internet.
James Kuyper 写锟斤拷锟斤拷
> Weimin Wang wrote:
>>
>> Dear Sir,
>>
>> Is there any linear least sqares pro and minimizing absolute deviation
>> pro in IDL?I search it in Reference manual,But get nothing.
>
> Go into the online manual, select Index, then type in "least squares".
> You'll find four different routines listed. The first two are for
> non-linear least squares fitting, the third is specifically for
> polynomial fitting, but the fourth (SVD_FIT) is intended for general use
> linear least-squares fitting.
>
> I couldn't find anything for minimizing the absolute deviation. I'm not
> familiar with any algorithms for doing that. Do you have any references
> describing how it can be done?
--
Best Regards,
Weimin Wang
Institute of Geo. Sci. &
Nature Resource Research,CAS
Beijing,100101,China
Tel:86-10-64889762-5
Fax:86-10-64858099
|
|
|
Re: How to do least sqares with IDL? [message #32466 is a reply to message #32370] |
Mon, 07 October 2002 07:23  |
James Kuyper
Messages: 425 Registered: March 2000
|
Senior Member |
|
|
Weimin Wang wrote:
>
> Dear Sir,
>
> Is there any linear least sqares pro and minimizing absolute deviation
> pro in IDL?I search it in Reference manual,But get nothing.
Go into the online manual, select Index, then type in "least squares".
You'll find four different routines listed. The first two are for
non-linear least squares fitting, the third is specifically for
polynomial fitting, but the fourth (SVD_FIT) is intended for general use
linear least-squares fitting.
I couldn't find anything for minimizing the absolute deviation. I'm not
familiar with any algorithms for doing that. Do you have any references
describing how it can be done?
|
|
|