- Introduced by
- Granger & Andersen (bilinear/NMA framework); Tong (nonlinear time series theory)
- Year
- 1978
- Type
- Nonlinear time series model
- Family
- Econometrics / time series
What does it do?
The Nonlinear Moving Average (NMA) model generalises the linear MA model by letting the current observation depend on past innovations through a nonlinear function f rather than a fixed weighted sum.
In the specification used on this page, y_t = f(eps_{t-1}, ..., eps_{t-q}) + eps_t, so the effect of a past shock can vary with its size or sign. The model is considered when linear MA dynamics appear inadequate for a series.
The intuition behind the method
In a linear MA model, a past shock is added to the current value with a fixed weight, so a shock of a given size has the same effect whatever its sign or the state of the series. An NMA model allows the effect to depend on the shock through f: a large negative shock may, in principle, be transmitted differently from a large positive shock of the same magnitude. Whether this happens in a given series is an empirical question that the model does not assume. Asymmetric transmission is often discussed for financial returns, commodity prices and macroeconomic series, but the model only permits such behaviour and does not establish it.
History
Nonlinear extensions of linear MA dynamics belong to the bilinear time series literature, associated with Granger and Andersen (1978), which added nonlinear terms to linear MA-type dynamics.
When to use it
Consider an NMA model when there is a substantive reason to expect shocks to propagate asymmetrically or depending on the state of the system, or when linearity tests point to nonlinear dependence. Candidate tests include the BDS, Hinich bispectrum and Tsay tests. These tests have limited power against nonlinear MA alternatives, so a failure to reject linearity does not establish that the dynamics are linear (Liu et al., 1992, as discussed in the financial econometrics literature). A rejection indicates unexplained nonlinear dependence, but it does not identify the form of the nonlinearity and does not imply chaos. The model suits series whose shock dynamics are plausibly sign- or regime-dependent, such as financial returns, commodity prices and macroeconomic series. A linear MA model is preferable when there is no such evidence, when the sample is too short for the nonlinear parameters to be identified reliably, or when interpretability and parsimony matter more than fit.
Limitations and considerations
- The innovations are latent, so estimation requires iterative numerical methods that are sensitive to starting values.
- Flexible forms of f can overfit moderate samples, and the risk rises with the number of nonlinear parameters.
- Choosing q and the functional form of f lacks the standard identification and selection guidance available for linear ARMA models.
- Stationarity and invertibility conditions are model-specific and harder to establish than in the linear MA case.
- Estimated nonlinear coefficients are less directly interpretable than linear MA coefficients.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Can represent asymmetric or state-dependent shock propagation that a linear MA model cannot.
- Nests the linear MA as a special case when f is linear, so the two can be compared formally.
- May improve multi-step forecasts when the true dynamics are nonlinear; this can be checked out of sample against the linear benchmark.
- Connects to bilinear and threshold formulations, giving a body of related theory to draw on.
- Diagnostic tests such as BDS and Tsay give a principled first check on whether a nonlinear extension is needed.
Applications
- Modelling financial return series, where negative and positive shocks of equal size may have different effects and an asymmetric specification is worth testing.
- Commodity and energy price dynamics, where it may be tested whether price spikes propagate differently from price declines.
- Macroeconomic series, where it may be tested whether shock transmission changes with the phase of the business cycle.
How it works
How it works
The model writes the current value y_t as a nonlinear function f of q past innovations plus a new error term eps_t. The departure from the linear MA form is that past innovations enter the conditional mean through f rather than through a weighted sum.
Formula
y_t = f(\varepsilon_{t-1}, \varepsilon_{t-2}, \ldots, \varepsilon_{t-q}) + \varepsilon_tThe analyst specifies f. Forms discussed in the general literature include bilinear products, smooth transition functions and polynomial expansions. The formula on this page covers only functions of past innovations, so specifications that also involve past observations fall outside it. The choice of f should rest on economic theory, on diagnostic tests for nonlinearity, or on information criteria comparing candidate specifications.
Formula
f(\cdot) \text{ is a nonlinear function of past innovations } \varepsilon_{t-j}Because the innovations are unobserved and enter f nonlinearly, closed-form estimation is generally unavailable. Estimation is typically iterative, using nonlinear least squares, maximum likelihood or Kalman-filter-based methods. Results can depend on starting values, so the optimisation should be checked from alternative starting points. The standard assumptions are that the innovations have zero mean and are serially uncorrelated. For likelihood-based methods they are also taken to be independent and identically distributed with a specified distribution, commonly the normal. Identifiability and stationarity depend on the chosen f and should be checked for that specification.
After fitting, residuals are checked for remaining serial correlation (Ljung-Box test), remaining nonlinear dependence (BDS test) and ARCH effects. Out-of-sample forecast accuracy is then compared with a linear MA benchmark using measures such as RMSE and MAE, to test whether the nonlinear specification improves prediction.
Common pitfalls
- Fitting an NMA model without first testing for nonlinearity. A significant BDS or Tsay result on linear-model residuals should come before the choice of a nonlinear specification.
- Using a short sample, where nonlinear parameter estimates can be unstable and nonlinearity tests have limited power.
- Judging the model by in-sample fit alone. Better in-sample fit does not guarantee better forecasts, so out-of-sample accuracy should be compared with the linear MA benchmark.
- Confusing NMA with NAR models: NMA models nonlinearity in past innovations, while NAR models nonlinearity in past observed values.
Frequently asked questions
How is a Nonlinear MA model different from a standard (linear) MA model?
A linear MA(q) model writes y_t as a weighted sum of q past innovations. An NMA model replaces that sum with a nonlinear function of the same innovations, so the effect of a shock can depend on its sign, its size or the values of earlier shocks.
How do I test whether a nonlinear MA specification is needed?
Apply the BDS test to residuals from a fitted linear MA model. Rejection indicates unexplained nonlinear dependence, though not necessarily a specific nonlinear form or chaos. The Tsay and Hinich bispectrum tests are additional diagnostics. Non-rejection does not establish linearity, because these tests have limited power against nonlinear MA alternatives (Liu et al., 1992). A nonlinear specification should therefore be judged mainly by out-of-sample comparison with the linear benchmark.
What software can estimate Nonlinear MA models?
Standard linear ARMA procedures do not cover nonlinear functional forms, so estimation usually requires nonlinear least squares or maximum likelihood routines written or adapted for the specific f. Check the documentation of any software package for the functional forms it supports.
Can I combine a Nonlinear MA with autoregressive terms?
Yes. Mixed specifications, sometimes called nonlinear ARMA or bilinear ARMA, include both past observations and past innovations in a nonlinear function. They are more general, but they fall outside the innovations-only formula given in this page's mechanics, need larger samples and require care to avoid overfitting.
Is a Nonlinear MA model stationary?
Stationarity conditions depend on the functional form of f and on the distribution of the innovations, and they are generally harder to establish than for linear MA models. They should be checked analytically or by simulation for the specification in use.
Related methods
Sources
Granger, C. W. J., & Andersen, A. P. (1978). An Introduction to Bilinear Time Series Models. Vandenhoeck and Ruprecht, Gottingen.
Open publication referenceTong, H. (1990). Non-Linear Time Series: A Dynamical System Approach. Oxford University Press.
ISBN: 978-0198522300