Building blocks for the mean
An autoregression of order , AR(), explains a value by its own past: . It is stationary when its coefficients keep it from exploding, which for AR(1) means , and its mean is . A moving average of order , MA(), explains a value by past shocks: . It is always stationary and has a memory of exactly steps. Combining both gives ARMA(), which often describes a series with fewer parameters than a pure AR or MA would need.
The parameters are estimated by maximum likelihood. The orders are chosen by comparing information criteria, the AIC and the BIC , where is the number of parameters and the likelihood: lower is better, and the penalty on stops you from adding terms that only fit noise. The BIC penalises more heavily when and so picks smaller models. After the fit, residuals should look like white noise, which the Ljung-Box test checks. The forecast of a stationary AR(1) returns to the mean geometrically, , and the forecast of an MA() equals the mean from steps ahead. Far forecasts of any stationary ARMA are simply the mean, which is why such models are good for the next few steps and no better than the average after that.
- AR() depends on its own past values; MA() on the last shocks; ARMA on both.
- AIC and BIC reward fit and punish parameters; the model with the lowest value wins, the BIC being stricter.
- Forecasts of a stationary ARMA converge to the mean as the horizon grows.
Lab · what's graded
- The mean of an AR(1)15 pts
- A two-step forecast15 pts
- An MA(1) autocorrelation15 pts
- An information criterion15 pts
- A non-stationary coefficient15 pts
- Match the vocabulary15 pts
- Why far forecasts reach the mean10 pts