IDEAS home Printed from https://ideas.repec.org/p/gla/glaewp/2026_01.html

Markov-Switching DSGE Modeling in RISE

Author

Listed:
  • Junior Maih
  • Nigar Hashimzade
  • Oleg Kirsanov
  • Tatiana Kirsanova

Abstract

Many important episodes in modern macroeconomics are defined by temporary shifts between different economic conditions: monetary policy may switch between dovish and hawkish stances, external shocks between high and low volatility, financial markets between periods of tight and loose frictions, and so on. Standard linear DSGE models cannot accommodate such shifts in behavior. A natural extension is multiple-regime models, in which an economy at any given time is in one of several regimes and selected parameters take different values in each regime. One popular way to model transitions between regimes is via a finite-state Markov process.This framework captures recurrent episodes parsimoniously while preserving the structural discipline of DSGE modeling. The main challenge for researchers is computational: a Markov-switching rational expectations model is considerably more complex to solve and estimate than its standard single-regime counterpart. Expectations must be treated consistently across regimes, and econometric inference requires specialized f ilters, which estimate both the probability of the economy being in each regime and the values of unobserved (latent) variables, such as the output gap. The RISE toolbox for MATLAB is designed to make this workflow straightforward. It allows users to declare Markov chains and regime-specific parameters, solve switching models by perturbation methods, and estimate them using dedicated switching filters. The outputs—regime probabilities (updated and smoothed), latent variables, and regime-dependent impulse responses—are precisely what applied macroeconomists need for empirical work.

Suggested Citation

  • Junior Maih & Nigar Hashimzade & Oleg Kirsanov & Tatiana Kirsanova, 2026. "Markov-Switching DSGE Modeling in RISE," Working Papers 2026_01, Business School - Economics, University of Glasgow.
  • Handle: RePEc:gla:glaewp:2026_01
    as

    Download full text from publisher

    File URL: https://www.gla.ac.uk/media/Media_1242001_smxx.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Klein, Paul, 2000. "Using the generalized Schur form to solve a multivariate linear rational expectations model," Journal of Economic Dynamics and Control, Elsevier, vol. 24(10), pages 1405-1423, September.
    2. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models—Rejoinder," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 211-219.
    3. Nigar Hashimzade & Oleg Kirsanov & Tatiana Kirsanova & Junior Maih, 2024. "On Bayesian Filtering for Markov Regime Switching Models," CESifo Working Paper Series 10941, CESifo.
    4. Thomas Lubik & Frank Schorfheide, 2006. "A Bayesian Look at New Open Economy Macroeconomics," NBER Chapters, in: NBER Macroeconomics Annual 2005, Volume 20, pages 313-382, National Bureau of Economic Research, Inc.
    5. Blanchard, Olivier Jean & Kahn, Charles M, 1980. "The Solution of Linear Difference Models under Rational Expectations," Econometrica, Econometric Society, vol. 48(5), pages 1305-1311, July.
    6. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 113-172.
    7. Christopher A. Sims & Tao Zha, 2006. "Were There Regime Switches in U.S. Monetary Policy?," American Economic Review, American Economic Association, vol. 96(1), pages 54-81, March.
    8. Hamilton, James D, 1989. "A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle," Econometrica, Econometric Society, vol. 57(2), pages 357-384, March.
    9. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    10. Kirsanova, Tatiana & Leith, Campbell & Machado, Celsa & Ribeiro, Ana Paula, 2025. "(Re)Evaluating recent macroeconomic policy in the US," European Economic Review, Elsevier, vol. 178(C).
    11. Calvo, Guillermo A., 1983. "Staggered prices in a utility-maximizing framework," Journal of Monetary Economics, Elsevier, vol. 12(3), pages 383-398, September.
    12. Chang-Jin Kim & Charles R. Nelson, 1999. "State-Space Models with Regime Switching: Classical and Gibbs-Sampling Approaches with Applications," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262112388, December.
    13. Chen, Xiaoshan & Kirsanova, Tatiana & Leith, Campbell, 2017. "How optimal is US monetary policy?," Journal of Monetary Economics, Elsevier, vol. 92(C), pages 96-111.
    14. Junior Maih, 2015. "Efficient perturbation methods for solving regime-switching DSGE models," Working Paper 2015/01, Norges Bank.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Chen, Xiaoshan & Kirsanova, Tatiana & Leith, Campbell, 2017. "An empirical assessment of Optimal Monetary Policy in the Euro area," European Economic Review, Elsevier, vol. 100(C), pages 95-115.
    2. Tatiana Kirsanova & Øyvind Masst & Charles Nolan, 2025. "Searching for flexibility: The Joint Impact of Thatcher’s Reforms of UK Labour and Housing Markets," Working Papers 2025_13, Business School - Economics, University of Glasgow.
    3. Lhuissier, Stéphane, 2018. "The Regime-Switching Volatility Of Euro Area Business Cycles," Macroeconomic Dynamics, Cambridge University Press, vol. 22(2), pages 426-469, March.
    4. Zamarripa, Rene, 2021. "Estimating the Bank of Mexico’s reaction function in the last three decades: A Bayesian DSGE approach with rolling-windows," The North American Journal of Economics and Finance, Elsevier, vol. 56(C).
    5. Chang, Yoosoon & Maih, Junior & Tan, Fei, 2021. "Origins of monetary policy shifts: A New approach to regime switching in DSGE models," Journal of Economic Dynamics and Control, Elsevier, vol. 133(C).
    6. Lhuissier, Stéphane & Zabelina, Margarita, 2015. "On the stability of Calvo-style price-setting behavior," Journal of Economic Dynamics and Control, Elsevier, vol. 57(C), pages 77-95.
    7. Yoosoon Chang & Fei Tan & Xin Wei, 2018. "State Space Models with Endogenous Regime Switching," CAEPR Working Papers 2018-012, Center for Applied Economics and Policy Research, Department of Economics, Indiana University Bloomington.
    8. Shayan Zakipour-Saber, 2019. "Monetary policy regimes and inflation persistence in the United Kingdom," Working Papers 895, Queen Mary University of London, School of Economics and Finance.
    9. Nalan Baştürk & Cem Çakmakli & S. Pinar Ceyhan & Herman K. Van Dijk, 2014. "Posterior‐Predictive Evidence On Us Inflation Using Extended New Keynesian Phillips Curve Models With Non‐Filtered Data," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 29(7), pages 1164-1182, November.
    10. Boris Blagov, 2018. "Financial crises and time-varying risk premia in a small open economy: a Markov-switching DSGE model for Estonia," Empirical Economics, Springer, vol. 54(3), pages 1017-1060, May.
    11. Özer Karagedikli & Troy Matheson & Christie Smith & Shaun P. Vahey, 2010. "RBCs AND DSGEs: THE COMPUTATIONAL APPROACH TO BUSINESS CYCLE THEORY AND EVIDENCE," Journal of Economic Surveys, Wiley Blackwell, vol. 24(1), pages 113-136, February.
    12. Chen, Han, 2017. "The effects of the near-zero interest rate policy in a regime-switching dynamic stochastic general equilibrium model," Journal of Monetary Economics, Elsevier, vol. 90(C), pages 176-192.
    13. Chen, Xiaoshan & Kirsanova, Tatiana & Leith, Campbell, 2017. "How optimal is US monetary policy?," Journal of Monetary Economics, Elsevier, vol. 92(C), pages 96-111.
    14. Pawel Baranowski & Zbigniew Kuchta, 2015. "Changes in nominal rigidities in Poland – a regime switching DSGE perspective," Lodz Economics Working Papers 6/2015, University of Lodz, Faculty of Economics and Sociology.
    15. Alali, Walid Y., 2009. "Solution Strategies of Dynamic Stochastic General Equilibrium (DSGE) models," EconStor Preprints 269876, ZBW - Leibniz Information Centre for Economics.
    16. Nigar Hashimzade & Oleg Kirsanov & Tatiana Kirsanova & Junior Maih, 2024. "On Bayesian Filtering for Markov Regime Switching Models," CESifo Working Paper Series 10941, CESifo.
    17. Cho, Seonghoon, 2021. "Determinacy and classification of Markov-switching rational expectations models," Journal of Economic Dynamics and Control, Elsevier, vol. 127(C).
    18. Xin Wei, 2020. "Dynamic Expectations Formation and U.S. Monetary Policy Regime Change," CAEPR Working Papers 2020-007, Center for Applied Economics and Policy Research, Department of Economics, Indiana University Bloomington.
    19. Chatelain, Jean-Bernard & Ralf, Kirsten, 2018. "Publish and Perish: Creative Destruction and Macroeconomic Theory," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 46(2), pages 65-101.
    20. Fernández-Villaverde, J. & Rubio-Ramírez, J.F. & Schorfheide, F., 2016. "Solution and Estimation Methods for DSGE Models," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 527-724, Elsevier.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • C32 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes; State Space Models
    • A22 - General Economics and Teaching - - Economic Education and Teaching of Economics - - - Undergraduate

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gla:glaewp:2026_01. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Business School Research Team (email available below). General contact details of provider: https://edirc.repec.org/data/dpglauk.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.