I have a problem about the following codes
estimation(datafile=xyz, mode_compute=5, mode_check, mh_nblocks=2, mh_replic=0, mh_drop=0.5, mh_jscale=0.015);
stoch_simul(order=1, periods=0,irf=20,conditional_variance_decomposition = [2, 10]) x y z;
Since the signs of some cross correlations between the variables are wrong after estimation, I want to do counterfactuals to figure out the source of the problem by looking at posterior modes.
In the first step, I use the above two lines to try to find the posterior modes and see cross correlations from the command "stoch_simul".
In the second step, I comment out the command "estimation" and set the parameters to be estimated to their posterior modes (including variances of the exogenous shocks) derived from the 1st step.
However, the 2nd step only results in failing BK conditions, though I can see various results generated by "estimation" and "stoch_simul" in the 1st step. According to the mannual, the above two lines of codes should set the parameters to the posterior modes which is exactly what I did in the 2nd step. I can't see the reason why the simulation results will differ.
Thanks heaps for any ideas.
cheers,
yc