Can autocorrelation be greater than one?

In summary, the conversation discusses finding the autocorrelation of a random variable and the results obtained through different methods. The random variable in question is a Gaussian random variable with zero mean and unit variance, put through a filter. The individual is seeking an explanation for the values obtained and whether dividing by 3 would be appropriate. Another individual suggests checking the definition of the xcorr function and considering normalizing the autocorrelation function by dividing through by the variance. The conversation ends with a request for verification on this approach.
  • #1
Rib5
59
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
  • #2
Hm... can't help if you don't tell me how you're computing the autocorrelation...
 
  • #3
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.
 
  • #4
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
 
  • #5


Autocorrelation is a statistical measure that quantifies the similarity between a signal or time series and a lagged version of itself. It is a measure of how correlated a signal is with itself at different points in time. Autocorrelation values can range from -1 to 1, with a value of 1 indicating a perfect positive correlation, 0 indicating no correlation, and -1 indicating a perfect negative correlation.

In theory, autocorrelation values cannot exceed 1. However, in practice, due to the limitations of data and measurement errors, it is possible to obtain values slightly higher than 1. This is especially true when the data is noisy or when the autocorrelation is estimated from a finite sample size.

In your case, it is possible that the autocorrelation values you are obtaining are slightly higher than 1 due to the noise in the data or the finite sample size. However, it is important to note that even small deviations from 1 can have significant effects on the results and should be carefully considered.

In order to ensure accurate results, it is recommended to use a larger sample size and to carefully evaluate the data for any potential sources of noise. Additionally, dividing the values by 3 to bring them closer to 1 may not be appropriate as it could distort the results. It is important to consult with a statistician or an expert in the field to determine the best course of action in this situation.

Overall, while it is possible to obtain autocorrelation values slightly higher than 1, it is important to carefully evaluate the data and consider potential sources of error to ensure accurate and meaningful results.
 

1. Can autocorrelation be greater than one?

Yes, autocorrelation can be greater than one. Autocorrelation, also known as serial correlation, measures the relationship between a variable and its previous values. It ranges from -1 to 1, where 1 indicates a perfect positive relationship and -1 indicates a perfect negative relationship. Therefore, a value greater than 1 indicates an even stronger positive relationship.

2. What does an autocorrelation value greater than one mean?

An autocorrelation value greater than one means that there is a very strong positive relationship between a variable and its previous values. This can be interpreted as a high level of predictability in the data, with each value being strongly influenced by its previous values.

3. Is a high autocorrelation value always desirable?

Not necessarily. While high autocorrelation may indicate a strong relationship between a variable and its previous values, it can also indicate a lack of randomness in the data. This can lead to biased results and inaccurate predictions. In some cases, a low or moderate autocorrelation value may be more desirable.

4. What factors can lead to a high autocorrelation value?

A high autocorrelation value can be caused by a number of factors, including the presence of trends, seasonality, or cycles in the data. It can also be a result of omitted variables or data errors. It is important to carefully examine the data and consider these factors when interpreting autocorrelation values.

5. How can autocorrelation be reduced?

To reduce autocorrelation, one can use statistical techniques such as detrending, seasonal adjustment, or differencing to remove any trends or patterns in the data. Additionally, including more relevant variables in the analysis can help to reduce autocorrelation. It is also important to ensure that the data is accurate and free from errors.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
952
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
991
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
464
  • Set Theory, Logic, Probability, Statistics
Replies
30
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top