IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2402.08051.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 Dynamic Stochastic General Equilibrium (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 New Keynesian DSGE model, is used to demonstrate the computational robustness of the proposed filters and smoothers and evaluate their accuracy and speed for a selection of filters from each family. We show that the canonical IMM filter is faster and is no less, and often more, accurate than its competitors within IMM and GPB families, the latter including the commonly used Kim and Nelson (1999) filter. Using it with the matching smoother improves the precision in recovering unobserved variables by about 25 percent. 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," Papers 2402.08051, arXiv.org.
  • Handle: RePEc:arx:papers:2402.08051
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2402.08051
    File Function: Latest version
    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.
    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, April.
    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. 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.
    5. 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.
    6. Omotosho, Babatunde S. & Yang, Bo, 2024. "Oil price shocks and macroeconomic dynamics in resource-rich emerging economies under regime shifts," Journal of International Money and Finance, Elsevier, vol. 144(C).
    7. 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.
    8. Barthélemy, Jean & Marx, Magali, 2017. "Solving endogenous regime switching models," Journal of Economic Dynamics and Control, Elsevier, vol. 77(C), pages 1-25.
    9. 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.
    10. 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.
    11. 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.
    12. 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.
    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. Mao, Ruoyun & Shen, Wenyi & Yang, Shu-Chun S., 2024. "Can passive monetary policy decrease the debt burden?," Journal of Economic Dynamics and Control, Elsevier, vol. 159(C).
    19. 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.
    20. 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.

    More about this item

    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

    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:arx:papers:2402.08051. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.