Should we use posterior mean or posterior mode

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Re: Should we use posterior mean or posterior mode

Postby jpfeifer » Sat Sep 05, 2015 4:49 pm

This looks like a problem with the convergence of the MCMC and the initial jumping distribution. Please download the unstable version and try the use_tarb option.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Should we use posterior mean or posterior mode

Postby Oriana » Wed Sep 09, 2015 7:38 am

Thank you. After I get a trial license for matlab statistical_toolbox I finally runned the model with use_tab option.
Nevertheless, the computation with Tailored randomized block MCMC algoritm has proved to be much more slower with a very low acceptance ratio. In order to avoid a lower acceptance ratio I tried mode_compute = 6 and after few hours I got the following error: Error using ==> chol
Matrix must be positive definite.


Note, I had also replaced the line [b]chol(hh) in the try-catch-statement of dynare_estimation_1.m by hh=1e-4*eye(size(hh)) on the unstable version.

What can possibly be done about this?
Oriana
 
Posts: 67
Joined: Fri Jul 18, 2014 2:49 pm

Re: Should we use posterior mean or posterior mode

Postby jpfeifer » Sun Sep 13, 2015 5:57 pm

Even if it takes longer, stay with the TaRB and lower mh_jscale to get a better acceptance rate. It will take longer, but you will need fewer draws. The reason is that when doing this, Dynare will recompute the Hessian so that the "Matrix must be positive definite" will not be an issue. You should use say 1000 draws in a first step and then use the trace_plot to check the movement of the MCMC. Check whether there is still a drift. If yes, restart with the most recent values.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Previous

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests