Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

ARIMA models are used to describe and forecast time series data with trends, autocorrelation, and random shocks. This cheat sheet summarizes the notation, assumptions, identification tools, and workflow students need when fitting ARIMA models. It is designed as a quick reference for choosing model orders, checking stationarity, and interpreting forecasts.

Students use ARIMA to connect statistical theory with practical forecasting tasks in economics, science, engineering, and business.

An ARIMA(p,d,q)ARIMA(p,d,q) model combines autoregressive terms, differencing, and moving average error terms. The main ideas are stationarity, autocorrelation, partial autocorrelation, residual diagnostics, and forecast uncertainty. Differencing removes many types of trend by applying yt=ytyt1\nabla y_t = y_t - y_{t-1} one or more times.

A good ARIMA model has residuals that behave like white noise, meaning they have mean 00, constant variance, and little remaining autocorrelation.

Key Facts

  • An ARIMA(p,d,q)ARIMA(p,d,q) model uses autoregressive order pp, differencing order dd, and moving average order qq.
  • The first difference is yt=ytyt1\nabla y_t = y_t - y_{t-1}, and the second difference is 2yt=yt2yt1+yt2\nabla^2 y_t = y_t - 2y_{t-1} + y_{t-2}.
  • An AR(p)AR(p) model has the form yt=c+ϕ1yt1+ϕ2yt2++ϕpytp+εty_t = c + \phi_1 y_{t-1} + \phi_2 y_{t-2} + \cdots + \phi_p y_{t-p} + \varepsilon_t.
  • An MA(q)MA(q) model has the form yt=μ+εt+θ1εt1+θ2εt2++θqεtqy_t = \mu + \varepsilon_t + \theta_1\varepsilon_{t-1} + \theta_2\varepsilon_{t-2} + \cdots + \theta_q\varepsilon_{t-q}.
  • A stationary series has a constant mean, constant variance, and autocovariance that depends only on lag hh, not on time tt.
  • The autocorrelation at lag hh is ρh=γhγ0\rho_h = \frac{\gamma_h}{\gamma_0}, where γh\gamma_h is the autocovariance at lag hh.
  • Model comparison often uses AIC=2k2ln(L^)AIC = 2k - 2\ln(\hat{L}), where kk is the number of estimated parameters and L^\hat{L} is the maximized likelihood.
  • A forecast interval is wider than a point forecast because it accounts for future error uncertainty, often summarized by y^t+h±zα/2SE(y^t+h)\hat{y}_{t+h} \pm z_{\alpha/2}\,SE(\hat{y}_{t+h}).

Vocabulary

ARIMA
An ARIMA model is a time series model that combines autoregression, differencing, and moving average components to model autocorrelated data.
Stationarity
Stationarity means the statistical behavior of a series stays stable over time, especially its mean, variance, and autocorrelation structure.
Differencing
Differencing transforms a series by subtracting earlier values, such as yt=ytyt1\nabla y_t = y_t - y_{t-1}, to reduce trend and improve stationarity.
Autocorrelation Function
The autocorrelation function, or ACF, measures the correlation between yty_t and ythy_{t-h} for different lags hh.
Partial Autocorrelation Function
The partial autocorrelation function, or PACF, measures the direct correlation between yty_t and ythy_{t-h} after accounting for shorter lags.
White Noise
White noise is a random error sequence with mean 00, constant variance σ2\sigma^2, and no meaningful autocorrelation.

Common Mistakes to Avoid

  • Using ARIMA before checking stationarity is wrong because nonstationary data can produce misleading coefficients and overly confident forecasts.
  • Choosing pp and qq only by visual guesswork is unreliable because ACF and PACF patterns can be ambiguous, so students should also compare diagnostics and information criteria such as AICAIC.
  • Over-differencing the series is a mistake because too large a value of dd can add unnecessary noise and create artificial negative autocorrelation.
  • Trusting a model with autocorrelated residuals is wrong because remaining residual structure means the ARIMA model has not captured all predictable time dependence.
  • Interpreting forecast intervals as fixed guarantees is incorrect because a 95%95\% forecast interval describes long-run coverage under the model, not certainty for one future value.

Practice Questions

  1. 1 For the series values y1=20y_1 = 20, y2=23y_2 = 23, y3=27y_3 = 27, and y4=30y_4 = 30, compute the first differences y2\nabla y_2, y3\nabla y_3, and y4\nabla y_4.
  2. 2 An analyst fits ARIMA(2,1,1)ARIMA(2,1,1). Identify the values of pp, dd, and qq, and state what each part represents.
  3. 3 Two fitted models have AIC1=148.6AIC_1 = 148.6 and AIC2=141.2AIC_2 = 141.2. Which model is preferred by AIC, and why?
  4. 4 A residual ACF plot shows several significant spikes after fitting an ARIMA model. Explain what this suggests about the model and what the analyst should check next.