Modelintro
Moving-average model
Also called MA model, MA(q) process.
A model in which each value is a linear combination of the current and previous q white noise terms. Its autocorrelation is zero beyond lag q.
A moving-average model of order , written MA(), says that each value of a time series is a weighted sum of the current white noise shock and the shocks before it: . Every MA() process is stationary, whatever its coefficients, and two values more than steps apart are uncorrelated. That cutoff in the autocorrelation is how the model is recognized in data. The model is invertible, so that the shocks can be recovered from the past of the series, when the roots of lie outside the unit circle. The Wold decomposition shows that a regular stationary process is an MA() process, so finite MA models are a natural first approximation. The name has nothing to do with the moving average used to smooth data, except that both are weighted sums over a window.
The machine
Notation. is white noise, is the backshift operator, and .
Definition. is an MA() process with mean if
with . The parameters are , and .
Stationarity. No condition is needed. , and
Neither depends on . If the noise is IID, the process is also strictly stationary and -dependent: blocks more than apart are independent.
Invertibility. The process is invertible, with , if and only if every root of satisfies (Brockwell and Davis 1991, Section 3.1). The weights solve . For MA(1), .
Identifiability. Without invertibility the parameters are not identified from the autocovariance. For MA(1), with noise variance and with noise variance give the same : with and , and with and , both have and . In general, a root of can be replaced by with a change of , which gives up to models with one autocovariance. The usual convention picks the invertible one. When has no roots inside the unit circle, the MA noise is the Wold innovation of .
A hand example. Let , and shocks . Then , for example . Here and for . For MA(2) with and : , , , so
What it counts
| quantity | formula | cost from the parameters |
|---|---|---|
| autocovariance | the sum above; 0 after lag | per lag |
| weights | , | per weight |
| partial autocorrelation | does not cut off; for MA(1), | by Durbin-Levinson |
| spectral density | per frequency | |
| -step forecast from the infinite past | ; equal to for | |
| its error variance | ; equal to for | |
| exact Gaussian likelihood and finite-sample forecasts | the innovations algorithm with the banded autocovariance |
For MA(1) with , the partial autocorrelations are : they alternate in sign and decay like . This is the mirror image of an AR(1) process, whose autocorrelation decays and whose partial autocorrelation cuts off.
Relation to other models
- Autoregressive model. An invertible MA() is an AR() with weights , and a causal AR() is an MA(). An AR approximation of an MA process needs many lags when a root of is near the unit circle.
- ARMA model. MA() is ARMA(0, ).
- Linear process. The MA() process with is the general causal linear process. Finite MA models are its truncations, and the Wold decomposition theorem says that every regular stationary process has this form with .
- Over-differencing. If is white noise, then is MA(1) with and . This MA is not invertible. A sample autocorrelation near at lag 1 after differencing is a sign that the ARIMA model differences once too often.
- FIR filters. In signal processing an MA filter is a finite impulse response filter applied to white noise. The ARMAX model in system identification uses an MA part for the noise.
Known results in the model
- Characterization by the autocovariance. A stationary process whose autocovariance is zero after lag is an MA() process: there is a white noise and coefficients with , and can be chosen with no roots inside the unit circle (Brockwell and Davis 1991, Section 3.2). So the autocovariance cutoff is both necessary and sufficient.
- Bounds on the autocorrelation. For MA(1), , so , with equality only at . A sample value outside means that MA(1) does not fit, or that the sample is small.
- Bartlett's formula. For IID noise and lags , the sample autocorrelation is approximately normal with mean 0 and variance (Brockwell and Davis 1991, Section 7.2). The usual identification bounds use this variance, not .
- Estimation is nonlinear. The moment equation for MA(1) has an invertible solution only if . By the delta method and Bartlett's formula, this moment estimator has asymptotic variance , against for the Gaussian maximum likelihood estimator. At these are and , so the moment estimator needs about 3.6 times as many observations. The innovations algorithm gives consistent preliminary estimates (Brockwell and Davis 1991, Section 8.3), and the maximum likelihood estimate refines them.
- Exact likelihood. The Gaussian likelihood of is computed exactly by the innovations algorithm in operations, or by the Kalman filter on a state space form with a state of dimension .
- Slutsky effect. Repeated moving sums and differences of white noise give MA processes whose spectral density has a sharp peak, so the series look as if they had a period that is not there. This was Slutsky's explanation of business cycles.
References
- Eugen Slutzky, The summation of random causes as the source of cyclic processes, Econometrica 5(2), 1937, pp. 105 to 146 (moving sums of random series and the cycles they produce)
- Peter J. Brockwell and Richard A. Davis, Time Series: Theory and Methods, second edition, Springer, 1991, Section 3.1 (causality and invertibility, pp. 77 to 88), Section 3.2 (MA processes and autocovariances that vanish after lag q, p. 89), Section 7.2 (Bartlett's formula, p. 220) and Section 8.3 (preliminary MA estimates by the innovations algorithm, p. 245)
- Peter J. Brockwell and Richard A. Davis, Introduction to Time Series and Forecasting, third edition, Springer, 2016, Section 2.2 (linear processes, p. 44), Section 3.1 (ARMA processes, p. 73) and Section 5.1.3 (the innovations algorithm for MA estimation, p. 132)
- James D. Hamilton, Time Series Analysis, Princeton University Press, 1994, Chapter 3 (moving average processes and invertibility, pp. 43 to 71)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 7V2BCK Edit this page History Report an error Markdown