Re: Bayesian estimation _ mode_computation
Posted: Mon Nov 28, 2016 2:43 pm
What exactly is your problem? Looking at the prior posterior plots and the trace plots, the estimation results look quite good.
Forums for asking questions, posting comments and uploading examples related to Dynare
http://www.dynare.org/phpBB3/
0 posterior1.jpg Posterior for ''eps_IS''
0 posterior2.jpg Posterior for '' phiX '' zzeta, gammP, thetP, thetY,
0 posterior3.jpg Posterior for ''rhoBU''
by jpfeifer » Tue Nov 29, 2016 10:25 am
This can sometimes happen, but given the rather small differences this is not a reason to worry in your case (the distributions are made using a kernel density estimate and the peak can be somewhat off in that case). Usually when there is a serious problem , the green line is far away and the trace plots show serious drift. None of this is the case here.
by jpfeifer » Tue Nov 29, 2016 8:53 pm
Not exactly. What you see in those two graphs is an example of bimodality, where the MCMC correctly explores both regions. You still might want to use a longer chain to properly sample from both modes. But there is nothing here to suggest that the chain has not yet converged to its ergodic distribution.
Have you looked at a trace_plot of the posterior density?
trace_plot(options_,M_,estim_params_,'PosteriorDensity',1)
hp_filter
by jpfeifer » Wed Nov 30, 2016 10:36 am
No, you included the trace_plot for the parameters, but not the one for the posterior density itself, i.e. the result from
Code: Select all
trace_plot(options_,M_,estim_params_,'PosteriorDensity',1)
trace_plot(options_,M_,estim_params_,'PosteriorDensity',1);
trace_plot(options_,M_,estim_params_,'PosteriorDensity',2);
Estimation::mcmc: Posterior (dsge) IRFs...
Estimation::mcmc: Posterior IRFs, done!
Not enough input arguments.
Error in trace_plot (line 39)
column = name2index(options_, M_, estim_params_, type, name1);
Error in BggGKlinear (line 1250)
trace_plot(options_,M_,estim_params_,'PosteriorDensity',1);
Error in dynare (line 180)
evalin('base',fname) ;
trace_plot(options_,M_,estim_params_,'PosteriorDensity',1);
trace_plot(options_,M_,estim_params_,'StructuralShock',2,'epsA');
...
all shocks and parameters
...
trace_plot(options_,M_,estim_params_,'PosteriorDensity',1);
Re: Model Comparison Bayesian Estimation (again)
Postby jpfeifer » Fri Apr 04, 2014 9:04 am
Basically all your answers are in Koop's 2003 textbook "Bayesian Econometrics" on pages 4-5.
1. For Bayesian model comparison models do not need to be nested and there is a natural degrees of freedom correction. [b][color=#FF0000]Hence, as long as you use the same data having different parameters does not matter at all.
The steady state file internally changed the values of the following estimated parameters: