Memory in a series
The autocorrelation at lag is the correlation between the series and itself shifted by steps: . The sample version sums the products of deviations from the mean and divides by the total squared deviation. For pure noise with observations the sample autocorrelations are roughly normal with standard deviation , so a bar outside is unusual at the 5% level. Daily stock returns show almost no autocorrelation, which is why simple return-prediction rules fail. Their squares do: big moves are followed by big moves, the signature of volatility clustering.
The partial autocorrelation at lag is the correlation between and after the effect of the lags in between has been removed. The two plots identify a model. An autoregression of order has an ACF that fades gradually and a PACF that cuts off after lag . A moving average of order is the mirror image: an ACF that cuts off after lag and a PACF that fades. After fitting a model, the Ljung-Box statistic tests the first residual autocorrelations together. If they are not significant, the model has captured the memory.
- AR(p): the ACF fades and the PACF cuts off after lag .
- MA(q): the ACF cuts off after lag and the PACF fades.
- White noise: every autocorrelation stays inside about 95% of the time.
Lab · what's graded
- The 95% band15 pts
- A sample autocorrelation15 pts
- An AR(1) autocorrelation15 pts
- Reading the plots15 pts
- Match the vocabulary15 pts
- Identifying a model10 pts
- Returns versus squared returns15 pts