Norges Bank

Working Paper

On Bayesian Filtering for Markov Regime Switching Models

Author:
Nigar Hashimzade, Oleg Kirsanov, Tatiana Kirsanova and Junior Maih
Series:
Working Paper
Number:
8/2024

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%. 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.

Norges Bank’s Working Papers present research projects and reports that are generally not in their final form. Other analyses by Norges Bank’s economists are also included in the series. The views and conclusions in these documents are those of the authors.

Norges Bank’s Working Papers can also be found in Norges Bank's publication archive, RepEc and BIS Central Bank Research Hub

ISSN 1502-8143 (online)

Published 19 April 2024 12:00
Published 19 April 2024 12:00