In statistics, autoregressive moving average (ARMA) models, sometimes called Box-Jenkins models after George Box and F. M. Jenkins , are typically applied to time series data.
Given a time series of data Xt then the ARMA model is a tool for understanding and, perhaps, predicting future values in this series. The model consists of two parts, an autoregressive (AR) part and a moving average or (MA) part. The model is usually then referred to as an ARMA(p,q) model where p is the order of the autoregressive part and q is the order of the moving average part (as defined below).
Autoregressive model
The notation AR(p) refers to an autoregressive model of order p. An AR(p) model can be written
where
are referred to as the parameters of the model, c is a constant and εt is an error term (see below). The constant term is omitted by many authors for simplicity.
An autoregressive model is essentially an infinite impulse response filter with some additional interpretation placed on it.
It should be noticed that some constraints are necessary on the values of the parameters of this model in order that the model remains stationary. For example, in an AR(1) model, if |φ1| > 1 then the model will not be well behaved.
Example: An AR(1)-Process
An AR(1)-Process is given by
where εt is a white noise process. The process is covariance-stationary if | φ1 | < 1. If φ1 = 1 then Xt exhibits a unit root and can also be considered as a random walk.
The calculation of the expectation of Xt is straightforward. Assuming covariance-stationarity we get
.
where μ is the mean.
Moving average model
The notation MA(q) refers to a moving average model of order q.
where the θ1, ..., θq are referred to as the parameters of the model and the εt, εt-1,... are again, the error terms. A moving average model is essentially a finite impulse response filter with some additional interpretation placed on it.
Autoregressive moving average model
The notation ARMA(p, q) refers to a model with p autoregressive terms and q moving average terms. This model subsumes the AR and MA models,
Note about the error terms
The error terms εt are generally assumed to be iid variables sampled from a normal distribution with zero mean: εt ~ N(0,σ2) where σ2 is
the variance. These assumptions may be weakened but doing so will change the properties of the model. In particular, a change to the iid assumption would make a rather fundamental difference.
Specification in terms of lag operator
In some texts the models will be specified in terms of the lag operator L. In these terms then an AR(p) model is given by
where φ represents polynomial
An MA(q) model is given by
where θ represents the polynomial
Finally, the combined ARMA model is given by
or more concisely,
Fitting models
ARMA models in general can, after choosing p and q, be fitted by least squares regression to find the values of the parameters which minimise the error term. It is generally considered good practice to find the smallest values of p and q which provide an acceptable fit to the data. For a pure AR model then the Yule-Walker equations may be used to provide a fit.
Generalizations
The dependence of Xt on past values and the error terms εt is assumed to be linear unless specified otherwise. If the dependence is nonlinear, the model is specifically called a nonlinear moving average (NMA), nonlinear autoregressive (NAR), or nonlinear autoregressive moving average (NARMA) model.
Autoregressive moving average models can be generalized in other ways. See also autoregressive conditional heteroskedasticity (ARCH) models and autoregressive integrated moving average (ARIMA) models. If multiple time series are to be fitted then a vectored ARIMA (or VARIMA) model may be fitted. If the time-series in question exhibits long memory then fractional ARIMA (FARIMA, sometimes called ARFIMA) modelling is appropriate. If the data is thought to contain seasonality then a SARIMA model should be used.
References
- George E.P. Box and F.M. Jenkins. Time Series Analysis: Forecasting and Control, second edition. Oakland, CA: Holden-Day, 1976.