Nonlinear VAR Model

Econometrics
Introduced by
Tsay (1998); Krolzig (1997); Tong (1990) for threshold framework
Year
1990s–2000s
Type
Multivariate nonlinear time series model
Family
Econometrics / time series

What does it do?

The Nonlinear VAR (NLVAR) extends the vector autoregression so that its coefficient matrices can differ across regimes.

Regimes are set by an observed threshold variable, a latent Markov state, or a smooth transition function. It is used for multivariate series whose dynamic relationships appear to change with economic conditions, such as asymmetric responses to shocks, which a linear VAR with fixed coefficients cannot represent.

The intuition behind the method

A standard VAR fixes the coefficient matrices across the whole sample. An NLVAR lets them depend on the state of the system: one set of lag coefficients may apply when a transition variable is below a threshold and another when it is above. The model then implies that the same shock can have different effects depending on the regime it arrives in. A linear model averages over these differences, which is why it can miss asymmetric dynamics.

History

Tsay (1998) extended threshold autoregressive models, which had received much attention in the years before, to vector time series. He developed a test for threshold nonlinearity based on predictive residuals and a procedure for building multivariate threshold models, and he applied the procedure to arbitrage in security markets, U.S. monthly interest rates and river flow series. Krolzig (1997) gives a book-length treatment of Markov-switching vector autoregressions with applications to business cycle analysis.

When to use it

Choose an NLVAR when you have multivariate time series whose relationships plausibly change with the state of the system. Examples include monetary policy effects that differ between recessions and expansions, or commodity shocks that propagate differently in high- and low-volatility periods. The case for the model should rest on a theory of regime dependence and, ideally, on a linearity test that rejects the linear VAR. Before estimation, the following assumptions should hold: the system is stationary or stable within each regime; the transition variable, threshold or transition function is specified in advance rather than chosen to fit the data; the errors are serially independent with a regime-specific covariance matrix, usually assumed Gaussian when likelihood-based methods are used; and each regime contains enough observations to estimate its coefficients. Do not use it when the linear VAR passes diagnostic checks and the data give no reason to expect state dependence, when the sample is short relative to the number of regime-specific coefficients, or when no economic rule for the regimes can be justified.

Limitations and considerations

  • Each regime carries its own set of lag matrices, so the parameter count grows quickly with the number of variables, lags and regimes, and each regime needs enough observations for its coefficients to be estimated.
  • The threshold, transition variable or number of regimes is an additional specification choice, and different choices can change the results.
  • Impulse responses must be simulated and depend on the chosen initial conditions and shock sizes, which makes them harder to report and compare than linear impulse responses.
  • MS-VAR requires the number of regimes to be fixed in advance, and this is difficult to determine from the data alone.
  • Regimes are interpretable only with a theory linking them to economic states; without one, an estimated regime may be a statistical artefact.
  • The model relies on assumptions that must be checked: stability within each regime, a correctly specified transition variable or threshold, and serially independent errors. Violations can make the regime estimates and regime-specific responses unreliable.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Allows the coefficient matrices and shock covariances to differ across regimes, so asymmetric responses that a linear VAR averages out can be estimated.
  • The three variants cover different types of nonlinearity: an observed threshold (TVAR), latent regimes (MS-VAR), and gradual transitions (STVAR).
  • Regime-dependent impulse responses show how the effect of the same shock varies with the state of the system.
  • Linearity can be tested against the linear VAR before the nonlinear model is adopted, as in Tsay's (1998) test.
  • Comparisons between crisis and normal periods are natural in this framework, because a single linear fit would mix the two regimes.

Applications

  • Analysing nonlinear effects of macroeconomic uncertainty on oil price returns, where a threshold VAR lets the relationship depend on the degree of uncertainty and the resulting uncertainty measure reflects predictability rather than volatility.
  • Testing threshold cointegration between logarithms of futures contract prices and spot prices of a security, where the thresholds are partly determined by transaction costs, as in Tsay (1998).

How it works

How it works

1

The analyst specifies the form of nonlinearity. A threshold VAR (TVAR) assigns each observation to a regime according to whether an observed transition variable lies above or below a threshold. A Markov-switching VAR (MS-VAR) treats the regime as a latent state that follows a Markov chain, so regime membership is probabilistic. A smooth-transition VAR (STVAR) uses a smooth logistic or exponential function, so the weight on each regime changes gradually.

2

In regime s_t the system follows its own set of lag coefficient matrices A_j(s_t) and its own error covariance Σ(s_t). The displayed equation gives the regime-dependent lag structure in simplified form and omits the intercept and the covariance term. The transition variable, threshold, or transition function determines which regime is active at each date.

Formula
Y_t = A_1(s_t)Y_{t-1} + \cdots + A_p(s_t)Y_{t-p} + \varepsilon_t
3

Estimation depends on the variant. Threshold VARs are estimated by least squares over a grid of candidate threshold values, with the threshold chosen from the grid; Tsay (1998) selects the thresholds and the model jointly using the Akaike information criterion. MS-VARs are typically estimated by maximum likelihood, often with the EM algorithm. STVARs are estimated by nonlinear least squares.

4

Before adopting the nonlinear specification, the linear VAR is tested against nonlinear alternatives. Tsay (1998) builds a test statistic from predictive residuals to detect threshold nonlinearity in a vector time series. For smooth-transition models, LM-type tests against a linear null are used. The nonlinear model is a candidate only if linearity is rejected.

5

Impulse responses in a nonlinear VAR are state-dependent. The response to a shock depends on the regime at the time of the shock and on the shock's size and sign. Generalized impulse responses, which average over the distribution of initial conditions, or regime-specific responses are therefore computed, usually by simulation rather than in closed form. Because they are simulation-based, they should be reported together with the shock size and sign and the set of initial conditions used, and uncertainty bands are usually obtained by bootstrap or other simulation methods. Generalized impulse responses are available for threshold VAR models in standard software.

Common pitfalls

  • Moving to the nonlinear model without a linearity test. The linear VAR should be set aside only after a test rejects it.
  • Treating regime-specific impulse responses as structural without an identification scheme. Ordering or sign restrictions are needed, and they must be justified for each regime.
  • Choosing the threshold variable or the number of regimes by in-sample fit alone. Information criteria and economic motivation should guide the choice, as in Tsay's joint selection of thresholds and model by AIC.
  • Overfitting in short samples. Regime-specific coefficients can absorb noise, so the stability of the regime estimates should be checked before they are interpreted.
  • Reading state-dependent impulse responses as average effects. A response that is large in one regime may apply to a rarely visited state, so the frequency of each regime should be reported alongside the responses.

Frequently asked questions

What is the difference between a threshold VAR and a Markov-switching VAR?

In a threshold VAR, the regime is determined by an observed variable crossing a threshold, so regime membership can be read directly from the data. In a Markov-switching VAR, regime membership is latent and probabilistic, inferred from an unobserved Markov chain. TVAR is simpler to interpret. MS-VAR is more flexible when no natural threshold variable exists.

How do I choose the number of regimes?

A linearity test tells you whether nonlinearity is present, not how many regimes to use. For a threshold VAR, the threshold and the model are typically selected together using information criteria such as AIC, as in Tsay (1998), and the choice should also reflect economic motivation. For a Markov-switching VAR, candidate numbers of regimes are compared using fit and information criteria, and the chosen number should be justified rather than simply maximised.

Are standard impulse response functions valid for a nonlinear VAR?

No. In a nonlinear VAR, responses depend on the current regime, the size and sign of the shock, and the initial conditions, so the principle of superposition does not hold. Generalized impulse responses, which average over initial conditions, are the usual approach, and they are computed by simulation.

How large a sample do I need?

There is no reliable universal rule. The number of free parameters rises with the number of variables, the number of lags and the number of regimes, and each regime needs enough observations for stable estimates. With short samples, only small models with few regimes are practical, and the stability of the regime-specific estimates should be checked before they are relied on.

Can I test whether the linear VAR is adequate before estimating the nonlinear model?

Yes, and this should be done first. For threshold VARs, Tsay's (1998) test uses predictive residuals to detect threshold nonlinearity in a vector time series. For smooth-transition VARs, LM-type tests against a linear null are available. Proceed to the nonlinear specification only when linearity is rejected.

Related methods

Sources

  1. Tsay, R. S. (1998). Testing and modeling multivariate threshold models. Journal of the American Statistical Association, 93(443), 1188–1202.

    Open DOI reference
  2. Krolzig, H.-M. (1997). Markov-Switching Vector Autoregressions: Modelling, Statistical Inference, and Application to Business Cycle Analysis. Springer.

    ISBN: 978-3540628644