The IMF Working Papers series is designed to make IMF staff research available to a wide audience. Almost 300 Working Papers are released each year, covering a wide range of theoretical and analytical topics, including balance of payments, monetary and fiscal issues, global liquidity, and national and international economic developments.
We propose a method for solving and estimating linear rational expectations models that exhibit indeterminacy and we provide step-by-step guidelines for implementing this method in the Matlab-based packages Dynare and Gensys. Our method redefines a subset of expectational errors as new fundamentals. This redefinition allows us to treat indeterminate models as determinate and to apply standard solution algorithms. We provide a selection method, based on Bayesian model comparison, to decide which errors to pick as fundamental and we present simulation results to show how our procedure works in practice.