Track 12 · Time Series and Forecasting · Lesson 9 of 11

Autocorrelation

Calculate and read autocorrelation (ACF) and partial autocorrelation (PACF) plots, recognise the signatures of trend, seasonality and white noise, and test for white noise with the Ljung–Box test.

35 minAdvanced7 graded exercisesMembers

If today's call volume tells you something about next Sunday's, a forecaster should use it; if yesterday's fund return tells you nothing about today's, no clever model will find a pattern. The autocorrelation function measures how much a series remembers its own past.

The autocorrelation at lag kk, rkr_k, is the correlation between the series and itself shifted by kk periods: how similar is yty_t to yt−ky_{t-k} across the whole series? Plotting r1,r2,…r_1, r_2, \ldots against kk gives the ACF plot (correlogram).

Included with a Formula Quest membership

It has 7 graded exercises with feedback, hints and worked solutions. After it you will be able to:

  • Calculate a sample autocorrelation and the ±1.96/√n white-noise band
  • Recognise ACF signatures of trend, seasonality, AR behaviour and white noise
  • Explain what the PACF adds to the ACF
  • Use and correctly interpret the Ljung–Box test