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

Home » Public Forums » archive » How to do least sqares with IDL?
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
How to do least sqares with IDL? [message #32370] Mon, 07 October 2002 01:25 Go to next message
Weimin Wang is currently offline  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 Go to previous message
Weimin Wang is currently offline  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 Go to previous message
James Kuyper is currently offline  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?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: bug in cgm device???
Next Topic: Calling IDL from a remote shell

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

Current Time: Wed Oct 08 19:35:30 PDT 2025

Total time taken to generate the page: 0.00526 seconds