STAT 101
M10 · L02
Module 10

ARIMA Models

The workhorse of time series forecasting. Combining autoregression, differencing, and moving averages into one powerful framework.

01 / 13
STAT 101
M10 · L02
What is ARIMA?

Three Components

  • AR(p) — predict from p past values
  • I(d) — d rounds of differencing for stationarity
  • MA(q) — model q past forecast errors
Notation
ARIMA(p, d, q)
02 / 13
STAT 101
M10 · L02
Component 1

Autoregressive AR(p)

Predict the current value as a weighted sum of p past values plus white noise. The series has memory.

AR(p)
X_t = \phi_1 X_{t-1} + \cdots + \phi_p X_{t-p} + \varepsilon_t
03 / 13
STAT 101
M10 · L02
Component 3

Moving Average MA(q)

Model shocks: the current value depends on q past forecast errors. Impact dies out after exactly q steps.

ACF
Cuts off at q
PACF
Decays slowly
04 / 13
STAT 101
M10 · L02
Identification

ACF & PACF Signatures

  • AR(p): ACF decays, PACF cuts off after lag p
  • MA(q): ACF cuts off after lag q, PACF decays
  • ARMA: both ACF and PACF decay gradually
05 / 13
STAT 101
M10 · L02
The I in ARIMA

Differencing

Non-stationary series must be differenced d times before fitting. d=1 removes a linear trend; d=2 removes quadratic.

Stationarity test
Augmented Dickey–Fuller (ADF): p < 0.05 → stationary
06 / 13
STAT 101
M10 · L02
Full Model

ARIMA (p, d, q)

Apply ARMA(p,q) to the d-times-differenced series. In practice d is 0, 1, or 2.

ARIMA(1,1,0) — AR(1) on differences; simple & robust
ARIMA(0,1,1) — equivalent to Simple Exponential Smoothing
ARIMA(0,2,2) — equivalent to Holt's linear trend
07 / 13
STAT 101
M10 · L02
Box–Jenkins Step 1

Identification

Use ADF to determine d, then inspect ACF and PACF of the differenced series to select p and q.

  • ADF test → choose d
  • ACF / PACF plots → choose p, q
  • Plot the series itself for obvious patterns
08 / 13
STAT 101
M10 · L02
Box–Jenkins Step 2

Estimation & Selection

Fit by maximum likelihood. Compare models with AIC or BIC — both penalize complexity. Lower is better.

AIC
2k − 2 ln L̂
BIC
k ln n − 2 ln L̂
09 / 13
STAT 101
M10 · L02
Box–Jenkins Step 3

Diagnostic Checking

Residuals should look like white noise: no autocorrelation, roughly normal, constant variance. Ljung–Box test checks for remaining structure.

If residuals have pattern
Model is mis-specified → iterate: adjust p, q, or d
10 / 13
STAT 101
M10 · L02
Seasonal Extension

SARIMA

Adds a seasonal layer (P, D, Q)m at period m. Seasonal spikes in ACF at lags m, 2m, 3m signal the need for seasonal terms.

Example
SARIMA(1,1,1)(1,1,1)₁₂ for monthly data with annual seasonality
11 / 13
STAT 101
Knowledge Check

Check what stuck

Four questions from this lesson. Answer to see why — the explanation appears whether you were right or wrong. Nothing is scored or saved.

Question 1 of 0
Score 0/0

12 / 13
STAT 101
Summary
Recap

What you learned

ARIMA unifies autoregression, differencing, and moving averages. The Box–Jenkins cycle — identify, estimate, check — gives you a principled workflow for any time series.

Next Lesson
13 / 13