I have set $x = {1,2,3,4,5}$ and set $y = {2,3,4,5,6}$. Lets say the correlation of $x$ and $y$ is $0.7$. If I then have set $z = {1,2,3,4,5,2,3,4,5,6}$, and I do autocorrelation using lag $=$ $5$, should I not get the same $0.7$? I have been doing this but I keep getting different results. I'm wondering if I'm doing something wrong, or maybe it is that they should have different results.
Contents
hide
Best Answer
denominators are different in the correlation formula and the autocorrelation formula. (moved to answer at moderator's request)
Similar Posts:
- Solved – calculate partial autocorrelation
- Solved – Wavelet auto correlation
- Solved – What number of lags for multivariate Portmanteau, Breusch-Godfrey, and Ljung-Box tests
- Solved – Difference between autocorrelation and partial autocorrelation
- Solved – Auto correlation in time series and regression analysis