by dominik » Tue Aug 04, 2015 10:44 am
Hi
i think i might have found an inconsistency in dynare.
The manual says:
"After running estimation, the parameters M_.params and the variance matrix M_.Sigma_e of the shocks are set to the mode for maximum likelihood estimation or posterior mode computation without Metropolis iterations.
After estimation with Metropolis iterations (option mh_replic > 0 or option load_mh_file set) the parameters M_.params and the variance matrix M_.Sigma_e of the shocks are set to the posterior mean."
Runing the following estimation
estimation(datafile=DataUSobstot,first_obs=100, mode_compute = 0, mode_file=SW_tot_do12_8308_mode,mh_jscale=0.3,mh_replic =2000,moments_varendo,plot_priors=0) dYobs dCobs dIobs Lobs dWobs PIEobs Robs q;
i find that the parameters are set to their posterior means only as the variable that are directly on the workspace, (e.g the variable 'alpha' thats saved directly on the workspace )
yet in M_.params the values are those of the posterior mode from the first stage of the estimation routine.
so there seems to be an inconsistency between the 2 sets of parameter values stored in different places. I dont know if this is general or specific to my code though.
Best Dominik