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

Home » Public Forums » archive » orthogonal distance regression
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
orthogonal distance regression [message #45959] Mon, 24 October 2005 08:59 Go to next message
Steve.Morris is currently offline  Steve.Morris
Messages: 17
Registered: November 2002
Junior Member
Does anybody know if somewhere on the net there's a package to perform
orthogonal distance regression ?

I have found odrpack from netlibe.org, but I was just wondering whether
an already idl cocked package exists...

More generally, if anybody has already used such a technique, advices
or tutorial are welcome :)

Thanks in advance!
S.
Re: orthogonal distance regression [message #46026 is a reply to message #45959] Tue, 25 October 2005 08:37 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Steve.Morris@libero.it writes:
> Does anybody know if somewhere on the net there's a package to perform
> orthogonal distance regression ?
>
> I have found odrpack from netlibe.org, but I was just wondering whether
> an already idl cocked package exists...
>
> More generally, if anybody has already used such a technique, advices
> or tutorial are welcome :)

ODR has been discussed before on this newsgroup. I'm not aware of any
package in IDL. A curve fitting program like MPFIT would need to be
modified pretty significantly to accomodate the ODR aspects. [*] In
the past I've referred people to ODRPACK and they've been very happy
(except that it's not native IDL).

Craig

[*] - actually, the changes are not huge. It might be an interesting
project for someone.

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: orthogonal distance regression [message #46040 is a reply to message #45959] Tue, 25 October 2005 00:38 Go to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
For *linear* regression, there exist sixlin.pro by W. Landsman
from the IDL astronomy library:

http://idlastro.gsfc.nasa.gov/ftp/pro/math/sixlin.pro

It computes 6 different kind of linear regression (x vs. y,
y vs. x, orthogonal etc.).

The programs implements the procedure described in

Isobe, Feigelson, Akritas, and Babu, Astrophysical Journal
Vol. 364, p. 104 (1990)

which has a nice overview of the effect of the different
linear regression methods for data sets where the spread
of the data is large. This of course apply not only to
astronomy but to other fields as well.

Ciao,
Paolo



Steve.Morris@libero.it wrote:
> Does anybody know if somewhere on the net there's a package to perform
> orthogonal distance regression ?
>
> I have found odrpack from netlibe.org, but I was just wondering whether
> an already idl cocked package exists...
>
> More generally, if anybody has already used such a technique, advices
> or tutorial are welcome :)
>
> Thanks in advance!
> S.
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: mpfit2dpeak and chi-square
Next Topic: Re: transforming a row vector into a column vector (continued)

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

Current Time: Wed Oct 08 18:38:22 PDT 2025

Total time taken to generate the page: 0.00566 seconds