Piecewise-Linear Approximations and Filtering for DSGE Models with Occasionally Binding Constraints
We develop an algorithm to construct approximate decision rules that are piecewise-linear and continuous for DSGE models with an occasionally binding constraint. The functional form of the decision rules allows us to derive a conditionally optimal particle ﬁlter (COPF) for the evaluation of the likelihood function that exploits the structure of the solution. We document the accuracy of the likelihood approximation and embed it into a particle Markov chain Monte Carlo algorithm to conduct Bayesian estimation. Compared with a standard bootstrap particle ﬁlter, the COPF signiﬁcantly reduces the persistence of the Markov chain, improves the accuracy of Monte Carlo approximations of posterior moments, and drastically speeds up computations. We use the techniques to estimate a small-scale DSGE model to assess the eﬀects of the government spending portion of the American Recovery and Reinvestment Act in 2009 when interest rates reached the zero lower bound.