Correlogram
Study guide: Exam MAS-II
A Correlogram is a plot of the sample autocorrelations r_k of a time series against the lag k. It is drawn with bounds that mark how large an autocorrelation must be before it can be told apart from zero. It is the picture through which the autocorrelation function is read, both to identify a model and to check its residuals. The partial autocorrelation function is plotted the same way.
For a white noise series of n observations, r_k is approximately normal with mean -1/n and variance 1/n, so the approximate 95% bounds are
-\frac{1}{n} \pm \frac{2}{\sqrt{n}}
For large n the bounds are simply \pm 2/\sqrt{n}. If a question prints its own bounds, use the ones it gives.
The first bar is always r_0 = 1, and it is ignored when testing for autocorrelation. A series shows significant autocorrelation if at least one bar beyond lag 0 crosses the bounds, at an early lag or a later one. A series whose bars all lie within the bounds is consistent with white noise.
A series of
n = 100observations hasr_1 = 0.15,r_7 = 0.23and every otherr_kbetween-0.1and0.1. Does it show significant autocorrelation?
- The bounds are
-1/100 \pm 2/\sqrt{100} = -0.01 \pm 0.2, from-0.21to0.19.r_1 = 0.15is inside them.r_7 = 0.23is outside them, so the series shows significant autocorrelation.
Patterns in a correlogram
- A slow, near-linear decay from close to
1means a trend or other non-stationarity. Difference the series before reading anything else. - Peaks at lags
12, 24, \ldotsfor monthly data, or4, 8, \ldotsfor quarterly data, mean seasonality. - A geometric decay, alternating in sign if the coefficient is negative, suggests an AR model.
- Spikes up to lag
qand nothing after suggest an MA(q) model. - All bars inside the bounds look like white noise.
The slow decay shows that a trend is there, not which way it runs. A rising and a falling trend give the same correlogram, since r_k is unchanged when every x_t is replaced by -x_t. The correlogram measures linear correlation between observations at different lags. It says nothing about their distribution, such as whether they are normal.
A series of
n = 96monthly claim counts hasr_1 = 0.91, and its autocorrelations decline slowly to0.55at lag 24, with local peaks at lags 12 and 24. What does the correlogram show?
- The bounds are about
\pm 2/\sqrt{96} = \pm 0.204, and every bar is far outside them.- The slow decay says the series is not stationary, with a trend in claim volume.
- The peaks at lags 12 and 24 say there is an annual cycle.
- No AR or MA order can be read until the trend and the seasonal pattern are removed, for example by a first difference and a lag-12 difference.
Residual correlogram
After a model is fitted, the correlogram of its residuals should look like white noise. If it does not, the lag of the surviving spike says what is missing:
- A spike at a short lag, such as lag 2 after an AR(1) fit, suggests the AR or MA order is too low.
- A spike at the seasonal lag, 12 for monthly data or 4 for quarterly, suggests a seasonal term the model lacks.
- Autocorrelations decaying slowly across many lags suggest a trend the model has not removed.
The bounds are pointwise 95% limits, so about 1 lag in 20 crosses them by chance. A few marginal breaches at unremarkable lags are weak evidence. A clear breach at a short lag or at the seasonal lag is not.
An AR(1) is fitted to 120 months of claim frequency. Its residual correlogram, plotted to lag 24, has
r_5 = 0.19andr_ = 0.31, with every other lag within\pm 0.10. Is the model adequate?
- The bounds are about
\pm 2/\sqrt{120} = \pm 0.183.r_5 = 0.19is only just outside, at an unremarkable lag. With 24 lags plotted, about24/20 = 1.2breaches are expected by chance.r_{12} = 0.31is well outside, at the seasonal lag.- The model is not adequate: it has left the annual pattern in the residuals, so a seasonal term is needed.
A trending series in the correlogram On a trending series nearly every bar is significant, and the plot says nothing about the AR or MA order. Remove the trend first, as described in Deterministic and Stochastic Trend, then read the correlogram of what remains.