autocorrelation function

J

Jerry W. Lewis

If your data is in A1:A10, then =CORREL(A1:A9,A2:A10) is the lag 1
autocorrelation.

Jerry
 
M

MOO

Thanks Jerry.

To calculate higher lags can you just move the second range downwards, eg
lag 2 =CORREL(A1:A9,A3:A11) ?
 
J

Jerry W. Lewis

Yes, provided that A11 is empty. Otherwise use =CORREL(A1:A8,A3:A10).
Note that the two offset arrays must be the same size.

Jerry
 
Top