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

Home » Public Forums » archive » BUG IN C_CORRELATE
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: BUG IN C_CORRELATE [message #5736 is a reply to message #5651] Thu, 01 February 1996 00:00 Go to previous message
sogawa is currently offline  sogawa
Messages: 2
Registered: February 1996
Junior Member
In article <4eo3t8$21e@post.gsfc.nasa.gov> Jack Saba <jsaba@magus.stx.com> writes:
> Subject: BUG IN C_CORRELATE
> From: Jack Saba <jsaba@magus.stx.com>
> Date: 31 Jan 1996 16:03:52 GMT

> There appears to be a bug in c_correlate. The documentation says
> the sums in the denominator go from 0 --> N-1. However, as
> implemented, they go from 0 --> N-2. The same seems to be the
> case for a_correlate.

> I'm not an expert on correlation analysis, but the definition of
> the cross-correlation in these functions strikes me as odd. The
> use of the entire vector in the denominator means that the
> cross-correlation at large lag is decreased wrt smaller lags
> because more elements of the vector are used in the denominator
> than in the numerator. Is this the normal definition, or should
> the sums in the denominator include only the elements that are
> are used in the numerator?

This is the most common way to estimate cross and autocorrelations from
realization of stochastic processes. By dividing N, the estimates are not
unbiased but positive-definite. The definition of correlations are
expectations of x(t)y(t+lag). Without knowing the joint distributions of
implied stochastic process, we have to estimate from available data.

References: Brockwell/Davis TIme Series: Theory and Methods,Springer-Verlag
1991

Box/Jenkin, Time Series Analysis, Holden-Day 1976

Shiro Ogawa
MacMillan Bloedel Ltd.
[Message index]
 
Read Message
Read Message
Previous Topic: Maker Interchange Format (MIF) driver Version 1.03
Next Topic: Problem addressing arrays from C routines running OSF

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

Current Time: Wed Oct 08 19:42:38 PDT 2025

Total time taken to generate the page: 0.01520 seconds