8/3 Autoregressive models

In a mul­ti­ple regres­sion model, we fore­cast the vari­able of inter­est using a lin­ear com­bi­na­tion of pre­dic­tors. In an autore­gres­sion model, we fore­cast the vari­able of inter­est using a lin­ear com­bi­na­tion of past val­ues of the vari­able. The term autoregres­sion indi­cates that it is a regres­sion of the vari­able against itself.

Thus an autore­gres­sive model of order p can be writ­ten as

    \[y_{t} = c + \phi_{1}y_{t-1} + \phi_{2}y_{t-2} + \dots + \phi_{p}y_{t-p} + e_{t},\]

where e_t is white noise. This is like a mul­ti­ple regres­sion but with lagged val­ues of y_t as pre­dic­tors. We refer to this as an AR(p) model.

Autore­gres­sive mod­els are remark­ably flex­i­ble at han­dling a wide range of dif­fer­ent time series pat­terns. The two series in Fig­ure 8.5 show series from an AR(1) model and an AR(2) model. Chang­ing the para­me­ters \phi_1,\dots,\phi_p results in dif­fer­ent time series pat­terns. The vari­ance of the error term e_t will only change the scale of the series, not the patterns.

Fig­ure 8.5: Two exam­ples of data from autore­gres­sive mod­els with dif­fer­ent para­me­ters. Left: AR(1) with yt=18–0.8yt-1+et. Right: AR(2) with yt=8+1.3yt-1–0.7yt-2+et. In both cases, et is nor­mally dis­trib­uted white noise with mean zero and vari­ance one.

For an AR(1) model:

  • When \phi_1=0, y_t is equiv­a­lent to WN
  • When \phi_1=1 and c=0, y_t is equiv­a­lent to a RW
  • When \phi_1=1 and c\ne0, y_t is equiv­a­lent to a RW with drift
  • When \phi_1<0, y_t tends to oscil­late between pos­i­tive and neg­a­tive values.

We nor­mally restrict autore­gres­sive mod­els to sta­tion­ary data, and then some con­straints on the val­ues of the para­me­ters are required.

  • For an AR(1) model:   -1 < \phi_1 < 1.
  • For an AR(2) model:   -1 < \phi_2 < 1‚   \phi_1+\phi_2 < 1‚   \phi_2-\phi_1 < 1.

When p\ge3 the restric­tions are much more com­pli­cated. R takes care of these restric­tions when esti­mat­ing a model.


Pro­ceed to Sec­tion 8/4.

Comments are closed.