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

Home » Public Forums » archive » Generalized Least Squares?
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
Generalized Least Squares? [message #60353] Sun, 18 May 2008 19:26
Gernot Hassenpflug is currently offline  Gernot Hassenpflug
Messages: 18
Registered: April 2001
Junior Member
Dear all,

I'm involved in ongoing research on a problem that I solved to a first
approximation with weighted least squares (using MPFIT) but for a real
solution I require generalized least squares: WLS uses a diagonal
covariance matrix, i.e., the data errors are uncorrelated; GLS uses a
full covariance matrix, i.e., the data errors can be correlated.

I have not found any ready solution in IDL yet, and I am under the
impression that there is no analytical solution to GLS, so fairly
complicated numerical methods are required.

I have actually found a routine in MATLAB called "lscov" which can
solve this problem, and wonder whether there is a chance to hobble
something together in IDL? I'd be happy to try and modify MPFIT to be
able to deal with GLS too, could anyone comment on possibilities?

Best regards,
Gernot Hassenpflug
--
BOFH excuse #51:

Cosmic ray particles crashed through the hard disk platter
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Coyote Color Program Updates
Next Topic: CALL_EXTERNAL ERROR

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

Current Time: Sun Oct 12 04:35:49 PDT 2025

Total time taken to generate the page: 0.56274 seconds