Autoregressive Model (AR)

Econometrics
Introduced by
George E. P. Box and Gwilym M. Jenkins
Year
1970s (popularised 1976)
Type
Time series model
Family
Econometrics / time series

What does it do?

An autoregressive model of order p — AR(p) — expresses the current value of a time series as a linear function of its own p most recent past values plus a white-noise error.

It is the building block of the Box-Jenkins family of time-series models and is widely used for forecasting stationary economic and financial series.

The intuition behind the method

Think of today's value of a time series as a weighted combination of its recent past values plus a random shock. If a series carries momentum or mean reversion, so that recent movements feed into later ones, an AR model captures that memory. The lag order p sets how many past observations carry information: a short memory may need only p = 1 or p = 2, while longer persistence needs more lags. The model assumes this dependence is linear and stable over time.

History

The autoregressive representation of a time series is older than the Box-Jenkins framework. The Box-Jenkins methodology, presented in their book Time Series Analysis: Forecasting and Control (1976, revised edition), gave systematic procedures for identifying, estimating, and checking AR and ARMA models, and made them a standard tool in applied time-series work. Hamilton's 1994 textbook also covers autoregressive models.

When to use it

Use the AR model when you have a single series that is stationary, or can be made stationary, and want to model or forecast it from its own past. It is appropriate when the PACF shows a clear cut-off at lag p and the ACF decays gradually. If the series may contain a unit root, test it (ADF or PP) and difference if needed; if the ADF test cannot reject a unit root, do not fit AR to the raw levels. Read the ADF or PP result together with a check for structural breaks, because a break in the mean of a stationary series can make the test fail to reject a unit root. Do not use AR when other variables are believed to drive the series (use VAR or ADL instead), or when the moving-average structure dominates (consider ARMA). AR is mainly a reduced-form device for description and forecasting and is weak for explaining causal mechanisms.

Limitations and considerations

  • Requires stationarity; a unit-root series must be differenced before fitting, which removes level information and changes what is being forecast.
  • Captures only linear, own-lag dynamics; nonlinear patterns or cross-variable dynamics require different models.
  • In finite samples, AIC and BIC can select different orders, introducing model uncertainty not reflected in standard errors.
  • Long-lag AR models can be over-parameterised and produce poor out-of-sample forecasts due to estimation noise.
  • Forecasts from a stationary AR converge to the unconditional mean μ = c / (1 − φ_1 − … − φ_p) as the horizon grows, so long-horizon forecasts carry little information beyond that mean.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Simple to estimate: coefficients follow from OLS on the lagged values, with no iterative optimisation required in the basic case.
  • Lag coefficients can be read directly as conditional linear associations between each past value and the present, which makes the fitted dynamics easy to interpret.
  • Stationarity conditions and asymptotic inference are well established in the literature.
  • The PACF gives a direct graphical guide to the order p for a single series.
  • Building block for richer models: ARMA, ARIMA, and VAR all extend the AR core.

Applications

  • Short-run macroeconomic forecasting: predicting GDP growth, inflation, or unemployment from their own recent history.
  • Financial time series: modelling return predictability or mean reversion in asset prices.
  • Benchmark model against which more elaborate forecasts are compared.
  • Pre-whitening a series before cross-correlation analysis or Granger causality testing.
  • Impulse response analysis: impulse responses computed from the full set of AR coefficients describe how a shock to the series propagates over time.
  • Unit-root testing foundations: the ADF test embeds an AR structure to whiten residuals before testing for a unit root.

How it works

How it works

1

The AR(p) model writes y_t as a constant c plus a weighted sum of p lagged values, y_{t-1} through y_{t-p}, plus a zero-mean white-noise error term ε_t. Each weight φ_i measures the conditional linear association between y_t and y_{t-i}, holding the other lags fixed. It is a descriptive, reduced-form coefficient and should not be read as a causal effect.

Formula
y_t = c + \phi_1 y_{t-1} + \phi_2 y_{t-2} + \cdots + \phi_p y_{t-p} + \varepsilon_t
2

The analyst chooses the lag order p. One approach is to inspect the partial autocorrelation function (PACF): for a pure AR(p), the PACF cuts off sharply after lag p while the ACF decays gradually. Another is to fit candidate orders over a range (for example, 0 up to 12 for monthly data) and compare AIC or BIC. The two criteria can select different orders, so the choice should be checked with residual diagnostics.

3

Given p, the coefficients are estimated by OLS. Stack the observations y_{p+1}, …, y_T into a vector y, and let Y_- be the (T − p) × (p + 1) matrix whose first column is ones and whose remaining columns are y_{t-1}, …, y_{t-p} for each t = p + 1, …, T. The first element of the estimate is the constant c and the others are φ_1, …, φ_p, so the estimator is (Y_-ᵀ Y_-)⁻¹ Y_-ᵀ y, as in the formula above. Yule-Walker equations or maximum likelihood are alternatives; under stationarity they give consistent estimates, although they can differ in finite samples. OLS is also consistent under stationarity, but because lagged values of the dependent variable appear as regressors it is biased in small samples. Standard errors and tests therefore rely on large-sample approximations, and small-sample results should be read with caution.

Formula
\hat{\boldsymbol{\phi}} = (\mathbf{Y}_{-}^\top \mathbf{Y}_{-})^{-1} \mathbf{Y}_{-}^\top \mathbf{y}
4

The AR(p) process is covariance-stationary if and only if all roots of its characteristic polynomial 1 − φ_1 z − … − φ_p z^p lie strictly outside the unit circle in the complex plane. The estimation formula does not enforce this condition, so it must be checked after estimation. A unit root is the boundary case in which a root lies on the circle; a unit-root test (ADF or PP) on the raw series is the usual pre-check before fitting.

5

After estimation, residuals should resemble white noise: inspect the ACF and PACF of the residuals for remaining autocorrelation, apply the Ljung-Box portmanteau test, and check for ARCH effects if volatility clustering is suspected. Persistent structure in the residuals signals an insufficient lag order or a misspecified model.

Common pitfalls

  • Fitting AR to a unit-root series without differencing: the OLS estimates are biased toward zero and standard inference is unreliable.
  • Selecting the lag order by a single criterion (e.g., AIC alone) without checking that residuals pass the Ljung-Box test; missed lags leave autocorrelation in the errors.
  • Confusing the AR(p) PACF cut-off rule with ACF behaviour: the ACF of an AR decays gradually, not sharply, so a gradual ACF decay alone does not identify an AR model, and treating it as an MA pattern leads to misspecification.
  • Neglecting to check for ARCH effects in residuals when modelling financial series; if the residuals show volatility clustering, the AR mean equation may need to be paired with a GARCH variance model.
  • Using a very long lag order (large p) in small samples: each extra lag costs one degree of freedom and increases estimation variance rapidly.

Frequently asked questions

How do I choose the lag order p?

Inspect the PACF: for a pure AR(p), the PACF drops to near zero after lag p. Confirm with information criteria: fit AR models for p = 0 up to some maximum (e.g., 12 for monthly data) and pick the order minimising AIC or BIC. Then verify that the chosen model's residuals show no remaining autocorrelation via the Ljung-Box test.

What is the difference between AR and ARMA?

An AR(p) model expresses the current value solely through its own past values. An ARMA(p,q) adds a moving-average component that weights past error terms, which can give a more parsimonious representation. If the PACF does not cut off after a small number of lags, a pure AR fit may be inadequate and ARMA(p,q) should be considered; the choice should be checked with residual diagnostics.

Can I use AR on a non-stationary series?

No: standard AR inference assumes stationarity. Run an ADF or Phillips-Perron test first. If the series has a unit root, take first differences (or log-differences for growth rates) and fit the AR to the differenced series, which corresponds to an ARIMA(p,1,0) model for the levels.

Is AR the same as OLS regression?

Mechanically, estimating an AR(p) by OLS means regressing y_t on its p lagged values, which is the same algebra as ordinary regression. The difference is in the regressors: they are lagged values of the dependent variable itself, so the usual finite-sample OLS results do not apply automatically, and inference relies on stationarity and large-sample (asymptotic) results. Yule-Walker estimation is an alternative that gives consistent estimates under stationarity.

When should I use VAR instead of AR?

Use VAR when you have two or more time series that may jointly influence each other. An AR model captures the own-lag dynamics of a single series; VAR generalises this by allowing each variable to depend on the lagged values of all variables in the system, making it essential for studying cross-variable impulse responses and Granger causality.

Related methods

Sources

  1. Box, G. E. P., & Jenkins, G. M. (1976). Time Series Analysis: Forecasting and Control (revised ed.). Holden-Day.

    ISBN: 978-0816211043
  2. Hamilton, J. D. (1994). Time Series Analysis. Princeton University Press.

    ISBN: 978-0691042893