- Introduced by
- Tong, H. (threshold AR); Terasvirta, T. (STAR variant)
- Year
- 1978-1990
- Type
- Nonlinear time series model
- Family
- Econometrics / time series
What does it do?
The Nonlinear AR model extends the classical autoregressive framework by allowing the mapping from past values to the current value to follow an arbitrary or regime-switching nonlinear function.
The major families covered on this page are the Self-Exciting Threshold AR (SETAR) and Smooth Transition AR (STAR) models, which capture asymmetry, regime shifts, or smooth nonlinear dynamics in univariate time series. Neural-network AR formulations are outside the scope of this page.
The intuition behind the method
A linear AR model assumes that the pull of the past on today's value is the same strength regardless of where the series stands. A nonlinear AR model relaxes this: the relationship may flip sign, change magnitude, or switch regime altogether depending on how large or small past values were. Think of a rubber band that stretches differently when slack versus when stretched past a threshold — the same 'pull' mechanism behaves differently at different levels of the state variable.
History
Threshold autoregressive modelling is usually attributed to Howell Tong. The smooth-transition variant is treated in Terasvirta (1994), which covers the specification, estimation and evaluation of LSTAR and ESTAR models.
When to use it
Use a Nonlinear AR model when a univariate, stationary or near-stationary series shows evidence of asymmetric cycles, regime shifts, or threshold-driven mean reversion that a linear AR fails to capture, and a formal linearity test rejects linearity. It suits series where the mean dynamics plausibly differ between regimes, such as macroeconomic series with expansion-recession asymmetry, commodity prices with threshold-driven reversals, or financial returns whose conditional mean appears to switch regime. Do not apply it when the linearity test is insignificant, when the series is very short (about 80-100 observations is a rough rule of thumb for a two-regime SETAR with moderate lags, and the requirement rises with more regimes, higher lag orders, or unbalanced regimes), when the series has a unit root and has not been differenced or tested for cointegration, or when the apparent nonlinearity comes from a one-time structural break rather than a recurring regime mechanism. If the main feature of the data is volatility clustering rather than mean nonlinearity, a model for the conditional variance is the more relevant tool.
Limitations and considerations
- Requires substantially longer series than a linear AR to estimate threshold or transition parameters reliably; short samples lead to poorly identified regimes.
- Model selection (number of regimes, lag order, threshold variable, delay d) is complex and involves multiple nested choices.
- Standard information criteria (AIC, BIC) are less reliable for comparing non-nested nonlinear models.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Captures asymmetric and regime-dependent dynamics that linear AR models systematically miss.
- SETAR and STAR forms are interpretable: each regime has its own AR coefficients, which can be read against the economic story of the series.
- Nested inside the linear AR framework, so a linearity test can help assess whether the added complexity is warranted, subject to the caveats on test distributions in the diagnostics section.
- Flexible enough to approximate a wide variety of nonlinear time-series processes with relatively few parameters.
- Multi-step forecasts are generated from the regime the series currently occupies, so forecast paths can differ from those of a linear AR when the series sits in different regimes.
Applications
- Modelling asymmetric business cycles where recessions are sharper and shorter than expansions (SETAR).
- Capturing threshold effects in interest-rate adjustment and central bank reaction functions.
- Analysing commodity price dynamics with nonlinear mean reversion towards long-run equilibrium.
- Forecasting exchange rates and financial returns where linear AR produces biased multi-step forecasts.
- Detecting and characterising regime switches in inflation, unemployment, and industrial production series.
- Examining asymmetric adjustment in energy prices between upward and downward movements.
How it works
How it works
The general NAR model writes y_t as an unknown nonlinear function f of p lagged values plus a white-noise error. The linear AR(p) emerges as a special case when f is linear. Choosing the functional form (threshold or smooth transition) determines which specific NAR variant is fitted.
Formula
y_t = f(y_{t-1}, \ldots, y_{t-p}) + \varepsilon_tThe most common parametric form is the SETAR model: the lag space is divided into regimes R_j defined by a threshold on a past value y_{t-d}. Within each regime a separate set of AR coefficients phi applies, producing a piecewise-linear process that can mimic asymmetric cycles and jump behaviour.
Formula
y_t = \phi_1^{(j)} y_{t-1} + \cdots + \phi_p^{(j)} y_{t-p} + \varepsilon_t \text{ if } y_{t-d} \in R_jThreshold parameters are estimated by a grid search over plausible threshold values, minimising residual sum of squares for each candidate. Within a fixed threshold the AR coefficients are estimated by OLS. STAR models replace the sharp switch with a smooth logistic or exponential transition function and are estimated by nonlinear least squares, with the transition speed parameter indicating how abruptly the regimes change.
Linearity should be tested before fitting a NAR model. For STAR-type models, the Luukkonen-Saikkonen-Terasvirta (LST) test takes linearity as the null against a smooth-transition alternative, and Terasvirta (1994) discusses linearity testing against smooth transition autoregression as part of specification. Because the threshold or transition parameters are not identified under linearity, the usual chi-square reference distribution of a likelihood-ratio statistic may not apply, so p-values should be obtained by bootstrap or another appropriate procedure. Residuals of the chosen NAR model should then be examined for remaining autocorrelation, ARCH effects, and parameter stability across the sample. Residual ARCH effects may in some cases make a threshold in the mean appear stronger than it is, so testing for them before interpreting the threshold is advisable.
Multi-step-ahead forecasts from a SETAR or STAR model are produced by iterating the estimated nonlinear function forward. Because the regime at each future step depends on simulated values, the forecast is usually built by Monte Carlo simulation or a skeleton forecast, which carries the regime-switching uncertainty that accumulates over the horizon.
Common pitfalls
- Fitting a NAR model without first running a formal linearity test. A significant-looking threshold may be a spurious artefact of a short or trending sample.
- Using the same data both to identify the threshold and to estimate the regime coefficients without correcting for this selection bias, which inflates the apparent goodness of fit.
- Ignoring residual ARCH effects: volatility clustering in the errors of a SETAR model may, in some cases, resemble threshold nonlinearity in the mean.
- Treating SETAR regime coefficients as permanent structural features when the true data-generating process involves only a one-time structural break.
Frequently asked questions
How do I choose between SETAR and STAR?
SETAR assumes an abrupt switch between regimes, while STAR uses a smooth logistic (LSTAR) or exponential (ESTAR) transition. Linearity tests against smooth transition alternatives, and the choice between LSTAR and ESTAR, guide the selection, as set out in Terasvirta (1994); the estimated transition speed parameter shows how gradual the switch is. Information criteria give only a rough guide here, because the candidate models are not straightforwardly nested, so residual diagnostics and out-of-sample behaviour should carry more weight.
What lag order and delay parameter should I use?
Lag order p is typically chosen by AIC or BIC on the linear AR first, then checked on the nonlinear model. The delay parameter d (which lag acts as the threshold variable) is usually searched over d in {1,...,p}. For SETAR, d is commonly selected by grid search minimising the residual sum of squares. For STAR, the delay is determined through specification tests, as discussed in Terasvirta (1994). In both cases the choice should be checked with residual diagnostics.
Can I apply a Nonlinear AR model to a non-stationary series?
The NAR framework described on this page assumes stationary or near-stationary data, consistent with the data-type description for this entry. Threshold unit-root models are a separate class and are not covered here. For a series with a unit root, difference it or test for cointegration first, then fit the NAR model to the stationary representation. Applying SETAR directly to a strongly non-stationary series can produce spurious regime identification.
Does the Nonlinear AR model handle multivariate data?
The standard NAR/SETAR/STAR framework is univariate. For multivariate settings use a Threshold VAR (TVAR) or Nonlinear VAR, which extend the regime-switching idea to a system of equations.
How many observations do I need?
About 80-100 observations is a rough rule of thumb for a two-regime SETAR with a moderate lag order. The actual requirement depends on the number of regimes, the lag order and how balanced the regimes are, and it rises with more regimes or lags. Each regime needs enough observations to estimate its AR coefficients; when a regime contains only a handful of observations, threshold estimates are imprecise and inference on regime coefficients is unreliable.
Related methods
Sources
Tong, H. (1990). Non-Linear Time Series: A Dynamical System Approach. Oxford University Press.
ISBN: 9780198522201Terasvirta, T. (1994). Specification, estimation, and evaluation of smooth transition autoregressive models. Journal of the American Statistical Association, 89(425), 208-218.
Open DOI reference