I am currently trying to estimate the simple New keynesian model. I am interested in using a prior of the inflation monetary policy parameter (psi_pi) that has a distribution with positive probability in regions of 0<psi_pi>1, it is well known that ,for these values, NK model will have several posible solutions (it is indeterminate). I have dynare code to solve these cases (following Farmer, Kramov(2013)).
Therefore, I have two models, model 1 that is the usual one for determined cases, and model 2 that is a modification of model 1 (Adding susnspots) for indeterminate cases.
My problem is that I need to use model 1 when a draw of psi_pi from the prior is larger than 1 and to use model 2 when the draw from the prior of psi_pi is less or equal than 1.
Is there a way to make dynare to use one model or the other depending on de draws of psi_pi?
Things that I have thought:
-Try to estimate model 1 with the determined part of the prior, try to estimate model 2 with indetermined part of the prior, Unify posterior distributions.
question.mod (599 Bytes)