Can autocorrelation be greater than one?

  • Thread starter Thread starter Rib5
  • Start date Start date
  • Tags Tags
    Autocorrelation
Click For Summary

Discussion Overview

The discussion revolves around the computation and interpretation of autocorrelation for a random variable, specifically addressing the observation of autocorrelation values exceeding one. Participants explore the theoretical and empirical aspects of autocorrelation, including definitions and normalization methods.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant computes the theoretical autocorrelation of a Gaussian random variable and finds values that exceed one, questioning the validity of such results.
  • Another participant requests clarification on the method used to compute autocorrelation, suggesting that the computation method is crucial for understanding the results.
  • It is noted that the autocorrelation function is typically defined to be normalized within the range of -1 to 1, prompting a discussion about the definition of the xcorr function in Octave.
  • A participant suggests that the xcorr function does not normalize the autocorrelation by the variance, which could explain the observed values, and proposes a modified command to achieve normalization.
  • There is a request for verification of the normalization claim regarding the xcorr function.

Areas of Agreement / Disagreement

Participants express differing views on the normalization of the autocorrelation function and the implications of the computed values. There is no consensus on the correct interpretation or method for computing autocorrelation.

Contextual Notes

Participants highlight potential limitations in understanding the xcorr function's definition and its impact on the computed autocorrelation values. The discussion does not resolve the mathematical steps or assumptions involved in the calculations.

Who May Find This Useful

This discussion may be useful for individuals interested in statistical analysis, signal processing, or those working with autocorrelation in random variables.

Rib5
Messages
59
Reaction score
0
I have to find the autocorrelation of a random variable. When I compute the theoretical autocorrelation I get the result where it is [1 -2 3 -2 1] centered around zero, and zero everywhere else.

I tried estimating the autocorrelation of the random variable using

ryy_est = xcorr(Y,20, 'unbiased');

in Octave, and I get the exactly same distribution. Can anyone explain to me what is going on? I was under the impression that a correlation can't be greater than 1. I've though about just dividing everything by 3, since it is equal to 3 at m = 0, however I don't know if this would be right, and I still don't know why I am getting values like that.

The random variable is a gaussian random variable of zero mean and unit variance, put through a filter y[n] = x[n] - x[n-1] + x[n -2].
 
Physics news on Phys.org
Hm... can't help if you don't tell me how you're computing the autocorrelation...
 
Usually, the autocorrelation function is defined to be normalized so that its value should be in the -1 and 1. The things that you should check is the exact definition of the function xcorr. Don't blindly guess the meaning of a function, cos they usually do not use the standard definition with some reason such as efficient.
 
I think the problem is that the autocorrelation function in most definitions is normalised by dividing through by the variance (or the product of the standard deviations at the times of interest if its not a covariant stationary process).

The function xcorr doesn't normalize the resulting autocorrelation function by this variance. If you want it to do that you need to go:
ryy_est = xcorr(Y,20, 'unbiased','coeff')

Can someone verify that this is true ?

Regards,
Thrillhouse
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
Replies
15
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K