Module 2 — ARMA, ARIMA, and Model Identification
Module 2 — ARMA, ARIMA, and Model Identification
Core question
Can a small number of lagged values and past shocks explain the serial dependence that remains after trend and seasonality are handled?
Learning outcomes
You will be able to:
- write AR, MA, ARMA, and ARIMA models with the lag operator;
- check AR causality/stationarity and MA invertibility from polynomial roots;
- construct an AR companion matrix and solve its Yule–Walker equations;
- derive benchmark ACF and PACF patterns;
- explain why invertibility is an identification restriction;
- detect under- and over-differencing;
- turn plots into candidate models without treating them as proofs.
1. One notation, three model classes
Let . Define
Then
| Model | Equation | Where memory lives |
|---|---|---|
| AR() | past observed values | |
| MA() | current and past shocks | |
| ARMA() | both | |
| ARIMA() | ARMA after differencing |
The intercept in software is not always the unconditional mean. For
the stationary mean is .
2. AR means decaying feedback
For AR(1),
It is causal and stationary when , with
For AR(), all roots of must lie outside the unit circle. Equivalently, the companion-matrix eigenvalues lie inside it.
Worked AR(2) root check
Consider
The polynomial is . Its roots are 2 and 4, both outside the unit circle, so the process is stationary. Two positive decay rates create a smoother ACF than a single cutoff rule could describe.
3. Companion and Yule–Walker forms
For AR(), define
where the first row of is , its first subdiagonal contains ones, and .
Three stability statements are equivalent:
The same coefficients solve the moment equations
R: verify all three representations
AR(2): roots, companion eigenvalues, and Yule-Walker solve
The polynomial roots are reciprocals of the companion eigenvalues. The Toeplitz solve returns the original coefficients because it uses population autocorrelations.
4. MA means finite shock memory
For MA(1),
With , . A shock affects two observations, so the theoretical ACF cuts off after lag 1.
Why invertibility is needed
and generate the same autocorrelation because
Invertibility selects the representation whose MA roots lie outside the unit circle—here under this sign convention—so innovations are recoverable from current and past observations and parameters are identified.
5. ACF and PACF are signatures, not verdicts
| Population pattern | AR() | MA() | ARMA() |
|---|---|---|---|
| ACF | tails off | cuts off after | tails off |
| PACF | cuts off after | tails off | tails off |
“Cuts off” is a population result. A sample ACF has noise of roughly order under simple white-noise conditions, and inspecting many lags creates multiple-comparison ambiguity. Use ACF/PACF to propose a small candidate set, then estimate, diagnose, and backtest it.
6. Differencing changes the model
First and seasonal differences are
| Symptom | Candidate operation | Boundary |
|---|---|---|
| stochastic level drift | do not use merely because a deterministic trend exists | |
| stochastic annual drift in monthly data | month indicators may suit stable seasonal means better | |
| variance proportional to level | requires positive data and changes interpretation to relative change |
Over-differencing stationary white noise gives , an MA(1) boundary case with . A strong negative lag-1 ACF after transformation is a warning.
7. See the signatures, then disturb them
Edit phi, theta, and n. Small samples show why clean textbook cutoffs often look ambiguous.
AR(1) and MA(1): sample ACF/PACF versus theory
8. Identification workflow
- Define target, frequency, origin, and horizon.
- Plot levels; mark trend, seasonality, breaks, and missing values.
- Choose transformations for stated reasons.
- Inspect ACF/PACF and propose at most a few parsimonious orders.
- Check estimated roots and near-cancellation between AR and MA factors.
- Audit residual dependence and parameter stability.
- Compare against naive and seasonal-naive forecasts on rolling origins.
- Prefer the smallest model whose remaining errors are not predictably useful.
Practice
- For , calculate through .
- For MA(1) with , calculate and describe the visual pattern.
- Factor and check stationarity.
- Explain why an MA coefficient outside the invertible region is not necessarily an impossible data-generating process but is a non-unique parameterisation.
- Write the companion matrix for the AR(2) in the worked root check and verify that its eigenvalues are and .
Answers
0.6, 0.36, 0.216, 0.1296.- ; adjacent observations tend to alternate around the mean.
- has roots 2 and 2.5, so it is stationary.
- Its autocovariance can be reproduced by an invertible representation after rescaling the innovation variance; invertibility chooses the unique recoverable-shock representation.
- has characteristic polynomial and eigenvalues .
Takeaway
ARMA is a disciplined approximation to stable linear dependence. The next module asks what that approximation implies for future values and uncertainty: Prediction.
Module 1 — Processes, Dependence, and Stationarity
Represent a stochastic process through finite random vectors, Toeplitz covariance matrices, stationarity, and Wold innovations.
Module 3 — Linear Prediction and State-Space Recursions
Derive best linear predictors from partitioned covariance matrices, quantify error with Schur complements, and introduce Kalman recursions.