Model Parameters
AR Model Formulas
Forecast Results
Forecast Fan Chart
Step-by-Step Forecasts
| Step | Point Forecast | Forecast SE | Lower CI | Upper CI |
|---|
Formula Breakdown
Model Assumptions
- Stationarity: all companion-matrix eigenvalues have modulus < 1
- Constant error variance (homoskedasticity)
- No structural breaks in the forecast period
- Errors are independent (no serial correlation in innovations)
- Parameters estimated consistently from a sufficiently long sample
- Linear dynamics (no threshold or regime-switching effects)
- Forecast intervals are normal approximations ignoring parameter-estimation uncertainty
Understanding AR Models and Time Series Forecasting
Autoregressive (AR) models are among the most widely used tools in time series econometrics. An AR(p) model predicts the current value of a variable as a linear function of its p most recent past values, an intercept, and a random error term. These models capture the persistence and mean-reverting behavior commonly observed in macroeconomic and financial time series.
How AR Forecasting Works
For AR(1), the h-step-ahead forecast has a convenient closed form: the forecast is a weighted average of the current value and the long-run mean, with the weight on the current value decaying exponentially at rate ρh. For AR(2) and AR(3), forecasts must be computed recursively, using previous forecasts as lagged values once the forecast passes the origin.
Forecast Uncertainty and Fan Charts
Forecast intervals widen as the horizon increases because prediction uncertainty accumulates over time. For stationary models, this uncertainty eventually plateaus at the unconditional variance of the process. A fan chart visualizes this by showing progressively wider confidence bands (50%, 80%, 95%) around the point forecast, with the forecast line converging toward the long-run mean. This approach was popularized by the Bank of England for communicating inflation forecasts.
Stationarity and the Unit Circle
A key requirement for meaningful AR forecasts is stationarity, which ensures the process has a stable long-run mean and bounded variance. For AR(1), stationarity requires |ρ| < 1. For higher-order models, all eigenvalues of the companion matrix must have modulus less than 1. Non-stationary processes (unit roots) produce forecasts that diverge without converging, and require differencing before forecasting.
AR Models vs. ADL Models
While this calculator focuses on pure AR models, Wooldridge Chapter 18 also covers Autoregressive Distributed Lag (ADL) models that include lagged values of additional explanatory variables. ADL models are useful when external factors help predict the series, but they require assumptions about the future values of those regressors. For pure forecasting from historical values alone, AR models are the standard approach.
Frequently Asked Questions
Disclaimer
This calculator is for educational purposes only and assumes estimated AR parameters are known. Actual forecasting involves additional considerations including parameter uncertainty, model selection, structural breaks, and non-normal errors. Results should not be used as the sole basis for investment or policy decisions.