We develop an algorithm to construct approximate decision rules that are piecewise-linear and continuous for DSGE models with occasionally-binding constraint. The functional form of the allows us derive a conditionally optimal particle filter (COPF) evaluation likelihood function exploits structure solution. document accuracy approximation embed it into Markov chain Monte Carlo conduct Bayesian...