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

Home » Public Forums » archive » Re: weighted least squares fit with error in both y and x
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
Re: weighted least squares fit with error in both y and x [message #30524] Sun, 05 May 2002 18:32
ftksn1 is currently offline  ftksn1
Messages: 4
Registered: June 2001
Junior Member
Thanks...
Kim
Re: weighted least squares fit with error in both y and x [message #30525 is a reply to message #30524] Sun, 05 May 2002 15:40 Go to previous message
Wayne Landsman is currently offline  Wayne Landsman
Messages: 117
Registered: January 1997
Senior Member
Kim Nielsen wrote:

> Hi,
>
> I am fitting a straight line to a data (x,y) set with error in both
> coordinates (sigma_x and sigma_y).
> Is there an easy way in IDL to obtain the paramaters with their errors

The "Numerical Recipes" iterative algorithm for solving this problem is
implemented in

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

Several other procedures (MINF_BRACKET, MINF_PARABOLIC, ZBRENT ) from the
above directory are also required.

--Wayne Landsman landsman@mpb.gsfc.nasa.gov
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Correction: Re: IDL & Tomography
Next Topic: reclass in ENVI or IDL

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

Current Time: Wed Oct 08 07:10:14 PDT 2025

Total time taken to generate the page: 0.00455 seconds