Journal of Statistical Software (Oct 2019)

Markov-Switching GARCH Models in R: The MSGARCH Package

  • David Ardia,
  • Keven Bluteau,
  • Kris Boudt,
  • Leopoldo Catania,
  • Denis-Alexandre Trottier

DOI
https://doi.org/10.18637/jss.v091.i04
Journal volume & issue
Vol. 91, no. 1
pp. 1 – 38

Abstract

Read online

We describe the package MSGARCH, which implements Markov-switching GARCH (generalized autoregressive conditional heteroscedasticity) models in R with efficient C++ object-oriented programming. Markov-switching GARCH models have become popular methods to account for regime changes in the conditional variance dynamics of time series. The package MSGARCH allows the user to perform simulations as well as maximum likelihood and Bayesian Markov chain Monte Carlo estimations of a very large class of Markov-switching GARCH-type models. The package also provides methods to make single-step and multi-step ahead forecasts of the complete conditional density of the variable of interest. Risk management tools to estimate conditional volatility, value-at-risk, and expected-shortfall are also available. We illustrate the broad functionality of the MSGARCH package using exchange rate and stock market return data.

Keywords