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

Home » Public Forums » archive » Re: Missing data and MPFITFUN
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Missing data and MPFITFUN [message #51124 is a reply to message #50905] Sat, 28 October 2006 11:57 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
googlegroups@higginsnet.com writes:

> Craig Markwardt wrote:
>
>> Remove the NaNs, include zero-weights, and
>> you should be fine.
>
> Does the calculation of the covariance matrix take into account the
> weighting matrix?

Yes. The calculation of the covariance matrix derives from the same
matrix that actually does the fitting.

> I have missing data points in an array, and so I've filled those data
> points with zeros, and then created a WEIGHTS matrix which identifies
> those zeros - to be ignored in the fit.

You did the right thing.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Title in iPlot
Next Topic: Re: Postscript and MikTeX 2.5

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

Current Time: Thu Oct 09 22:46:49 PDT 2025

Total time taken to generate the page: 0.55993 seconds