AR & ARMA
Models
An introduction to Autoregressive and Autoregressive Moving Average models: the foundation of modern time series analysis.
What is a Time Series?
A time series is a sequence of data points indexed in time order. We write it as \( \{Y_t\} \) for \( t = 1, 2, 3, \ldots \). Unlike cross-sectional data, observations are not independent: each value may depend on previous values.
The Stationarity Assumption
AR and ARMA models require the time series to be weakly stationary. This means three properties hold for all \( t \):
White Noise: the Building Block
Every AR and ARMA model is driven by a white noise process \( \{\varepsilon_t\} \). White noise satisfies:
The AR(1) Model
The first-order autoregressive model says that today's value is a fraction of yesterday's value plus a random shock. The parameter \( \phi_1 \) controls the strength and direction of dependence.
Visualizing AR(1) Behavior
Generalizing to AR(\(p\))
The AR(\(p\)) model regresses \( Y_t \) on its \( p \) most recent lags. The order \( p \) specifies how far back the dependence extends.
The MA(\(q\)) Model
The Moving Average model of order \( q \) expresses \( Y_t \) as a weighted sum of current and past shocks. Unlike AR, it looks back at errors, not at the series itself.
AR vs MA: Key Distinction
| AR(\(p\)) | MA(\(q\)) | |
|---|---|---|
| Depends on | Past values \( Y_{t-1}, \ldots, Y_{t-p} \) | Past shocks \( \varepsilon_{t-1}, \ldots, \varepsilon_{t-q} \) |
| ACF | Decays (exponential/oscillating) | Cuts off at lag \( q \) |
| PACF | Cuts off at lag \( p \) | Decays (exponential/oscillating) |
| Stationarity | Requires \( |\text{roots}| > 1 \) | Always stationary |
| Invertibility | Always invertible | Requires \( |\text{roots}| > 1 \) |
The ARMA(\(p,q\)) Model
The Autoregressive Moving Average model combines both components. In compact form:
ACF & PACF Patterns
How to Identify & Fit an ARMA Model
Example 1: AR(1) Autocorrelation
Given \( Y_t = 0.6\, Y_{t-1} + \varepsilon_t \) with \( \sigma^2_\varepsilon = 4 \). Find the variance and autocorrelation at lag 2.
Example 2: MA(1) Autocovariance
Given \( Y_t = \varepsilon_t + 0.5\,\varepsilon_{t-1} \) with \( \sigma^2_\varepsilon = 1 \). Find \( \gamma(0) \), \( \gamma(1) \), and \( \rho(1) \).
Example 3: ARMA(1,1) Identification
Suppose a time series has an ACF that decays exponentially starting from lag 1, and a PACF that also decays exponentially. What model is appropriate?
Common Mistakes
Summary of Model Properties
| Property | AR(\(p\)) | MA(\(q\)) | ARMA(\(p,q\)) |
|---|---|---|---|
| ACF | Tails off | Cuts off at \( q \) | Tails off |
| PACF | Cuts off at \( p \) | Tails off | Tails off |
| Stationarity | Roots of \( \Phi(z) \) outside unit circle | Always | Roots of \( \Phi(z) \) outside unit circle |
| Invertibility | Always | Roots of \( \Theta(z) \) outside unit circle | Roots of \( \Theta(z) \) outside unit circle |
| Parameters | \( \phi_1, \ldots, \phi_p \) | \( \theta_1, \ldots, \theta_q \) | \( \phi_1, \ldots, \phi_p, \theta_1, \ldots, \theta_q \) |
Question 1 of 5
For a stationary AR(1) model \( Y_t = \phi_1 Y_{t-1} + \varepsilon_t \), which condition must hold?
Question 2 of 5
The autocorrelation function (ACF) of an MA(2) process:
Question 3 of 5
For \( Y_t = 0.5\,Y_{t-1} + \varepsilon_t \) with \( \sigma^2_\varepsilon = 3 \), what is \( \text{Var}(Y_t) \)?
Question 4 of 5
If both the sample ACF and sample PACF of a time series tail off gradually, which model class is most appropriate?
Question 5 of 5
Which of the following is always stationary, regardless of parameter values?