IDEAS home Printed from https://ideas.repec.org/p/ces/ceswps/_10941.html
   My bibliography  Save this paper

On Bayesian Filtering for Markov Regime Switching Models

Author

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

Abstract

This paper presents a framework for empirical analysis of dynamic macroeconomic models using Bayesian filtering, with a specific focus on the state-space formulation of New Keynesian Dynamic Stochastic General Equilibrium (NK DSGE) models with multiple regimes. We outline the theoretical foundations of model estimation, provide the details of two families of powerful multiple-regime filters, IMM and GPB, and construct corresponding multiple-regime smoothers. A simulation exercise, based on a prototypical NK DSGE model, is used to demonstrate the computational robustness of the proposed filters and smoothers and evaluate their accuracy and speed. We show that the canonical IMM filter is faster than the commonly used Kim and Nelson (1999) filter and is no less, and often more, accurate. Using it with the matching smoother improves the precision in recovering unobserved variables by about 25%. Furthermore, applying it to the U.S. 1947-2023 macroeconomic time series, we successfully identify significant past policy shifts including those related to the post-Covid-19 period. Our results demonstrate the practical applicability and potential of the proposed routines in macroeconomic analysis.

Suggested Citation

  • Nigar Hashimzade & Oleg Kirsanov & Tatiana Kirsanova & Junior Maih, 2024. "On Bayesian Filtering for Markov Regime Switching Models," CESifo Working Paper Series 10941, CESifo.
  • Handle: RePEc:ces:ceswps:_10941
    as

    Download full text from publisher

    File URL: https://www.cesifo.org/DocDL/cesifo1_wp10941.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Francesco Bianchi & Leonardo Melosi, 2017. "Escaping the Great Recession," American Economic Review, American Economic Association, vol. 107(4), pages 1030-1058, April.
    2. Hilde C. Bjørnland & Vegard H. Larsen & Junior Maih, 2018. "Oil and Macroeconomic (In)stability," American Economic Journal: Macroeconomics, American Economic Association, vol. 10(4), pages 128-151, October.
    3. Fernández-Villaverde, Jesús & Guerrón-Quintana, Pablo & Rubio-Ramírez, Juan F., 2015. "Estimating dynamic equilibrium models with stochastic volatility," Journal of Econometrics, Elsevier, vol. 185(1), pages 216-229.
    4. Sims, Christopher A. & Waggoner, Daniel F. & Zha, Tao, 2008. "Methods for inference in large multiple-equation Markov-switching models," Journal of Econometrics, Elsevier, vol. 146(2), pages 255-274, October.
    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. Troy Davig & Taeyoung Doh, 2014. "Monetary Policy Regime Shifts and Inflation Persistence," The Review of Economics and Statistics, MIT Press, vol. 96(5), pages 862-875, December.
    7. Chen, Xiaoshan & Kirsanova, Tatiana & Leith, Campbell, 2017. "How optimal is US monetary policy?," Journal of Monetary Economics, Elsevier, vol. 92(C), pages 96-111.
    8. Durbin, James & Koopman, Siem Jan, 2012. "Time Series Analysis by State Space Methods," OUP Catalogue, Oxford University Press, edition 2, number 9780199641178, Decembrie.
    9. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    10. Xiaoshan Chen & Eric M. Leeper & Campbell Leith, 2022. "Strategic interactions in U.S. monetary and fiscal policies," Quantitative Economics, Econometric Society, vol. 13(2), pages 593-628, May.
    11. Francesco Bianchi, 2012. "Evolving Monetary/Fiscal Policy Mix in the United States," American Economic Review, American Economic Association, vol. 102(3), pages 167-172, May.
    12. Andrew Binning & Junior Maih, 2015. "Sigma point filters for dynamic nonlinear regime switching models," Working Paper 2015/10, Norges Bank.
    13. Junior Maih, 2014. "Efficient Perturbation Methods for Solving Regime-Switching DSGE Models," Working Papers No 10/2014, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    14. Zheng Liu & Pengfei Wang & Tao Zha, 2013. "Land‐Price Dynamics and Macroeconomic Fluctuations," Econometrica, Econometric Society, vol. 81(3), pages 1147-1184, May.
    15. 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.
    16. 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.
    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. 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).
    2. 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.
    3. Zakipour-Saber, Shayan, 2019. "State-dependent Monetary Policy Regimes," Research Technical Papers 4/RT/19, Central Bank of Ireland.
    4. Christopher Otrok & Andrew Foerster & Alessandro Rebucci & Gianluca Benigno, 2017. "Estimating Macroeconomic Models of Financial Crises: An Endogenous Regime Switching Approach," 2017 Meeting Papers 572, Society for Economic Dynamics.
    5. Stéphane Lhuissier & Fabien Tripier, 2021. "Regime‐dependent effects of uncertainty shocks: A structural interpretation," Quantitative Economics, Econometric Society, vol. 12(4), pages 1139-1170, November.
    6. 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.
    7. Barthélemy, Jean & Marx, Magali, 2017. "Solving endogenous regime switching models," Journal of Economic Dynamics and Control, Elsevier, vol. 77(C), pages 1-25.
    8. Alberto Ortiz-Bolaños & Sebastián Cadavid-Sánchez & Gerardo Kattan-Rodríguez, 2018. "Targeting Long-term Rates in a Model with Financial Frictions and Regime Switching," Investigación Conjunta-Joint Research, in: Alberto Ortiz-Bolaños (ed.), Monetary Policy and Financial Stability in Latin America and the Caribbean, edition 1, volume 1, chapter 6, pages 159-219, Centro de Estudios Monetarios Latinoamericanos, CEMLA.
    9. Kostas Mavromatis, 2018. "U.S. Monetary Regimes and Optimal Monetary Policy in the Euro Area," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 50(7), pages 1441-1478, October.
    10. Ai Deng & Pierre Perron, 2006. "A comparison of alternative asymptotic frameworks to analyse a structural change in a linear time trend," Econometrics Journal, Royal Economic Society, vol. 9(3), pages 423-447, November.
    11. Kostas Mavromatis, 2020. "Finite Horizons and the Monetary/Fiscal Policy Mix," International Journal of Central Banking, International Journal of Central Banking, vol. 16(4), pages 327-378, September.
    12. repec:hal:spmain:info:hdl:2441/644vfdaim38frrvbit4u0bh0ha is not listed on IDEAS
    13. Binning, Andrew & Bjørnland, Hilde C. & Maih, Junior, 2019. "Is monetary policy always effective? Incomplete interest rate pass-through in a DSGE model," Working Paper 2019/22, Norges Bank.
    14. Sebastián Cadavid Sánchez, 2018. "Monetary policy and structural changes in Colombia, 1990-2016: A Markov Switching approach," Documentos CEDE 16970, Universidad de los Andes, Facultad de Economía, CEDE.
    15. Beqiraj, Elton & Patella, Valeria & Tancioni, Massimiliano, 2021. "Fiscal stance and the sovereign risk pass-through," Economic Modelling, Elsevier, vol. 102(C).
    16. 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.
    17. Andrew Binning & Junior Maih, 2016. "Implementing the Zero Lower Bound in an Estimated Regime-Switching DSGE Model," Working Papers No 3/2016, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    18. Satoshi Tezuka & Yoichi Matsubayashi, 2018. "Credit Spread, Financial Market and Real Activities under Financial Instability: Empirical Evidence with MS-SBVAR," Discussion Papers 1812, Graduate School of Economics, Kobe University.
    19. Manuel Gonzalez‐Astudillo, 2018. "Identifying the Stance of Monetary Policy at the Zero Lower Bound: A Markov‐Switching Estimation Exploiting Monetary‐Fiscal Policy Interdependence," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 50(1), pages 115-154, February.
    20. Yoosoon Chang & Junior Maih & Fei Tan, 2018. "State Space Models with Endogenous Regime Switching," Working Papers No 9/2018, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    21. Stéphane Lhuissier & Fabien Tripier, 2016. "Do Uncertainty Shocks Always Matter for Business Cycles?," Working Papers 2016-19, CEPII research center.

    More about this item

    Keywords

    Markov switching models; filtering; smoothing;
    All these keywords.

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • 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
    • C54 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Quantitative Policy Modeling
    • E52 - Macroeconomics and Monetary Economics - - Monetary Policy, Central Banking, and the Supply of Money and Credit - - - Monetary Policy

    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:ces:ceswps:_10941. 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: Klaus Wohlrabe (email available below). General contact details of provider: https://edirc.repec.org/data/cesifde.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.