simulation after bayesian estimation
Posted: Sat Oct 08, 2016 8:56 am
Hello all,
I am solving a model using Bayesian estimation with dynare. After running the code, I get the mode of parameters and standard deviations of exogenous shocks. In principle, I should be able to simulate the model when I set these parameters and standard deviations equal to the mode. Is it right?
However, when I try to simulate the model, dynare shows “Blanchard Kahn conditions” doesn’t hold. Why is that?
It really puzzles me. Thanks a lot!
Best!
Jie Chen
P.S. Attachment is the codes and data I use. The file “code.mod” is to run the Bayesian estimation. The file “labroinvest.xls” is the data one should use when run the “code.mode”. It will take about half an hour to get the mode. The file “sim.mod” is to run the simulation.
The mode I get is stored in “code_mode.mat”. But I don't know how to load a ".mat" file.
I am solving a model using Bayesian estimation with dynare. After running the code, I get the mode of parameters and standard deviations of exogenous shocks. In principle, I should be able to simulate the model when I set these parameters and standard deviations equal to the mode. Is it right?
However, when I try to simulate the model, dynare shows “Blanchard Kahn conditions” doesn’t hold. Why is that?
It really puzzles me. Thanks a lot!
Best!
Jie Chen
P.S. Attachment is the codes and data I use. The file “code.mod” is to run the Bayesian estimation. The file “labroinvest.xls” is the data one should use when run the “code.mode”. It will take about half an hour to get the mode. The file “sim.mod” is to run the simulation.
The mode I get is stored in “code_mode.mat”. But I don't know how to load a ".mat" file.