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

Home » Public Forums » archive » Re: autocorrelation with Missing Values
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: autocorrelation with Missing Values [message #60867 is a reply to message #60856] Wed, 18 June 2008 07:20 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
maffie <matthias.demuzere@geo.kuleuven.be> writes:

> Hi,
>
> I would like to perform an autocorrelation with a few missing values
> in the array (I used 'Nan' and blank spaces as missing values). Now,
> If I try the routine a_correlate, the calculated effective degrees of
> freedom results in Nan, and so is also my new correlation coefficient.
>
> Does anybody know how I can solve this?

How about removing the blank values with something like,
WHSPEC = WHERE(FINITE(SPEC), CTSPEC)
WHPRES = WHERE(FINITE(PRES), CTPRES)
and so on...

Good luck,
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
Previous Topic: ASCII TEMPLATE (read the 31 column of ascii file only)
Next Topic: Re: ASCII TEMPLATE (read the 31 column of ascii file only)

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

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

Total time taken to generate the page: 0.00437 seconds