Time-Series Models for Financial Data › Forecasting with ARIMA Models

Michael BrenndoerferDecember 9, 20254 min read
Quantitative FinanceAll chapters
Part 8 of 15Econometrics and Statistical Modeling
Chapter 41Time-Series Models for Financial Data › Forecasting with ARIMA Models
Reading section 8 of 13 · Forecasting with ARIMA Models · 4 minSection 8 of 13 · 4 min

Book contents

Section 8 of 13 · 4 min read

Time-Series Models for Financial Data › Forecasting with ARIMA ModelsOne section · Sections in this chapter8 / 13 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Time-series models are widely used for forecasting. Using observations up to time TT, we predict YT+hY_{T+h} for horizons h=1,2,…h = 1, 2, \ldots Forecast quality determines a model's practical value.

Point Forecasts

The optimal forecast (minimizing mean squared error) is the conditional expectation:

Y^T+h∣T=E[YT+h∣YT,YT−1,…]\hat{Y}_{T+h|T} = E[Y_{T+h} | Y_T, Y_{T-1}, \ldots]

where:

  • Y^T+h∣T\hat{Y}_{T+h|T}: forecast for time T+hT+h made at time TT
  • E[⋅]E[\cdot]: conditional expectation operator
  • YT+hY_{T+h}: future value at horizon hh
  • YT,…Y_T, \ldots: information set available at time TT

This conditional expectation uses all available information up to time TT to form the best prediction of the future value. For an AR(1) model Yt=c+ϕYt−1+εtY_t = c + \phi Y_{t-1} + \varepsilon_t, the one-step-ahead forecast is simply:

Y^T+1∣T=c+ϕYT\hat{Y}_{T+1|T} = c + \phi Y_T

where:

  • Y^T+1∣T\hat{Y}_{T+1|T}: one-step-ahead forecast
  • cc: constant term
  • ϕ\phi: autoregressive coefficient
  • YTY_T: last observed value

For longer horizons, we iterate the forecasting equation, replacing unknown future values with their forecasts:

Y^T+2∣T=c+ϕY^T+1∣T(iterate AR relation)=c+ϕ(c+ϕYT)(substitute 1-step forecast)=c(1+ϕ)+ϕ2YT(simplify)\begin{aligned} \hat{Y}_{T+2|T} &= c + \phi \hat{Y}_{T+1|T} && \text{(iterate AR relation)} \\ &= c + \phi(c + \phi Y_T) && \text{(substitute 1-step forecast)} \\ &= c(1+\phi) + \phi^2 Y_T && \text{(simplify)} \end{aligned}

where:

  • Y^T+2∣T\hat{Y}_{T+2|T}: two-step-ahead forecast
  • Y^T+1∣T\hat{Y}_{T+1|T}: one-step-ahead forecast
  • cc: constant term
  • ϕ\phi: autoregressive coefficient
  • YTY_T: last observed value

More generally, the forecast formula reveals how the current observation influences predictions at any horizon:

Y^T+h∣T=μ+ϕh(YT−μ)\hat{Y}_{T+h|T} = \mu + \phi^h (Y_T - \mu)

where:

  • Y^T+h∣T\hat{Y}_{T+h|T}: forecast for T+hT+h given information at TT
  • μ=c/(1−ϕ)\mu = c/(1-\phi): unconditional mean
  • ϕ\phi: AR coefficient
  • hh: forecast horizon

The forecast is a weighted average of the unconditional mean μ\mu and the current deviation from that mean. The weight on the current deviation is ϕh\phi^h, which shrinks toward zero as the horizon increases. As h→∞h \to \infty, forecasts converge to the unconditional mean: Y^T+h∣T→μ\hat{Y}_{T+h|T} \to \mu. This reflects the fundamental property that for stationary series, distant future values are increasingly disconnected from current conditions.

Forecast Intervals

The forecast error at horizon hh is the difference between the realized value and our prediction:

eT+h∣T=YT+h−Y^T+h∣Te_{T+h|T} = Y_{T+h} - \hat{Y}_{T+h|T}

where:

  • eT+h∣Te_{T+h|T}: forecast error at horizon hh
  • YT+hY_{T+h}: realized value at time T+hT+h
  • Y^T+h∣T\hat{Y}_{T+h|T}: forecast made at time TT

For AR(1), the forecast error variance grows with horizon as uncertainty accumulates:

Var(eT+h∣T)=σ21−ϕ2h1−ϕ2\text{Var}(e_{T+h|T}) = \sigma^2 \frac{1 - \phi^{2h}}{1 - \phi^2}

where:

  • Var(eT+h∣T)\text{Var}(e_{T+h|T}): variance of the forecast error at horizon hh
  • σ2\sigma^2: innovation variance
  • ϕ\phi: AR coefficient

As h→∞h \to \infty, this converges to the unconditional variance σ2/(1−ϕ2)\sigma^2/(1-\phi^2). The uncertainty approaches the unconditional variance because at very long horizons, our conditional forecast converges to the unconditional mean, and the forecast error becomes essentially the deviation of the future observation from that mean.

A 95% forecast interval is:

Y^T+h∣T±1.96Var(eT+h∣T)\hat{Y}_{T+h|T} \pm 1.96 \sqrt{\text{Var}(e_{T+h|T})}

where:

  • Y^T+h∣T\hat{Y}_{T+h|T}: forecast for time T+hT+h given information at TT
  • 1.961.96: z-score for 95% confidence
  • Var(eT+h∣T)\text{Var}(e_{T+h|T}): forecast error variance

This widening of forecast intervals reflects increasing uncertainty at longer horizons, a fundamental feature of time-series prediction. Wider intervals make forecast uncertainty explicit for risk-management decisions.

Out[7]:
Visualization
Line plot showing how forecast variance increases with horizon for different AR coefficients.
Forecast error variance as a function of horizon for AR(1) models with varying persistence ($\phi$). Higher persistence levels delay the convergence of forecast uncertainty to the unconditional variance limit (dashed lines).