Skip to content

Markov-switching models

In the app: Help → Help contents, Markov-switching models.

A Markov-switching regression lets the intercept, and optionally the coefficients and the error variance, take different values in a small number of unobserved regimes: expansion and recession, high and low inflation. Which regime holds in a period is not observed; it follows a Markov chain whose transition probabilities are estimated with the coefficients, by maximum likelihood with Hamilton's filter.

The transition matrix gives the probability of moving from each regime to each other one; the expected duration of a regime is one over the probability of leaving it. Filtered probabilities use the data up to each period; smoothed probabilities use the whole sample. The likelihood often has several local maxima, so the fit tries random starting values (seeded, so results repeat). Regimes are numbered in the order estimated: read each regime's coefficients before naming it.

See also

References

  • Hamilton, J. D. (1989). A new approach to the economic analysis of nonstationary time series and the business cycle. Econometrica 57(2), 357-384. doi:10.2307/1912559
  • Kim, C.-J. and Nelson, C. R. (1999). State-Space Models with Regime Switching. MIT Press. doi:10.7551/mitpress/6444.001.0001