Main Content

MMSE Forecasting of Conditional Mean Models

What Are MMSE Forecasts?

A common objective of time series modeling is generating forecasts for a process over a future time horizon. That is, given an observed series y1, y2,...,yN and a forecast horizon h, generate predictions for yN+1,yN+2,,yN+h.

Let y^t+1 denote a forecast for the process at time t + 1, conditional on the history of the process up to time t, Ht, and the exogenous covariate series up to time t + 1, Xt + 1, if a regression component is included in the model. The minimum mean square error (MMSE) forecast is the forecast y^t+1 that minimizes expected square loss,

E(yt+1y^t+1|Ht,Xt+1)2.

Minimizing this loss function yields the MMSE forecast,

y^t+1=E(yt+1|Ht,Xt+1).

How forecast Generates MMSE Forecasts

The forecast function generates MMSE forecasts recursively. When you call forecast, you specify the model Mdl, forecast horizon numperiods, and presample responses Y0. You can optionally specify the presample innovations 'E0', conditional variances 'V0', and exogenous data 'X0' by using name-value pair arguments. Although forecast does not require X0 or forecast sample exogenous data XF, if you specify X0 then you must also specify XF.

To begin forecasting from the end of an observed series, say Y, use the last few observations of Y as presample responses Y0 to initialize the forecast. There are several points to keep in mind when you specify presample data:

  • The minimum number of responses needed to initialize forecasting is stored in the property P of an arima model. If you provide too few presample observations, forecast returns an error.

  • If you forecast a model with an MA component, then forecast requires presample innovations. The number of innovations needed is stored in the property Q of an arima model. If you also have a conditional variance model, you must additionally account for any presample innovations it requires. If you specify presample innovations, but not enough, forecast returns an error.

  • If you do not specify any presample innovations, but specify sufficient presample responses (at least P + Q) and exogenous covariate data (at least the number of presample responses minus P), then forecast automatically infers presample innovations. In general, the longer the presample response series you provide, the better the inferred presample innovations will be. If you provide presample responses and exogenous covariate data, but not enough, forecast sets presample innovations equal to zero.

  • If you forecast a model with a regression component, then forecast requires future exogenous covariate data for all time points in the forecast period (numperiods). If you provide future exogenous covariate data, but not enough, then forecast returns an error.

Consider generating forecasts for an AR(2) process,

yt=c+ϕ1yt1+ϕ2yt2+εt.

Given presample observations yN1 and yN, forecasts are recursively generated as follows:

  • y^N+1=c+ϕ1yN+ϕ2yN1

  • y^N+2=c+ϕ1y^N+1+ϕ2yN

  • y^N+3=c+ϕ1y^N+2+ϕ2y^N+1

For a stationary AR process, this recursion converges to the unconditional mean of the process,

μ=c(1ϕ1ϕ2).

For an MA(2) process, e.g.,

yt=μ+εt+θ1εt1+θ2εt2,

you need 2 presample innovations to initialize the forecasts. All innovations from time N + 1 and greater are set to their expectation, zero. Thus, for an MA(2) process, the forecast for any time more than 2 steps in the future is the unconditional mean, μ.

Forecast Error

The forecast mean square error for an s-step ahead forecast is given by

MSE=E(yt+sy^t+s|Ht+s1,Xt+s)2.

Consider a conditional mean model given by

yt=μ+xtβ+ψ(L)εt,

where ψ(L)=1+ψ1L+ψ2L2+. Sum the variances of the lagged innovations to get the s-step MSE,

(1+ψ12+ψ22++ψs12)σε2,

where σε2 denotes the innovation variance.

For stationary processes, the coefficients of the infinite lag operator polynomial are absolutely summable, and the MSE converges to the unconditional variance of the process.

For nonstationary processes, the series does not converge, and the forecast error grows over time.

See Also

Objects

Functions

Related Topics