Problem with mode_compute=6

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.

Problem with mode_compute=6

Postby flumas22 » Tue Sep 13, 2011 11:12 am

Dear all,

When I use Dynare to apply Bayesian Estimation, mode_compute = 6 is chosen to avoid non-positive definite matrix problem. However, this routine seems to automatically fixes the mh_jscale = 0.00015 to obtain a target acceptance rate around 1/3. The small jscale makes the posterior very narrow around the mode, compared to the priors. It is however desirable to make the MC travel a vaster region. Anyone could help me with this problem?

Thanks for answers,

Best,

Mark
flumas22
 
Posts: 17
Joined: Sun Oct 31, 2010 4:45 pm

Re: Problem with mode_compute=6

Postby jco57 » Tue Sep 27, 2011 1:02 am

Hi,

If the mod file containing your model is titled 'model', then you can find the scale parameter which DYNARE computes using mode_compute=6 in the file 'model_optimal_mh_scale_parameter'. Here you can modify the scale parameter (just keep the file name the same) to achieve an average acceptance ratio more to your liking.
jco57
 
Posts: 1
Joined: Tue Sep 27, 2011 12:41 am

Re: Problem with mode_compute=6

Postby reluginbuhl » Thu Sep 29, 2011 3:39 pm

Just to report on my experience with using mode_compute=6: I generally do not get convergence of the MH algorithm using mode=6. Using mode=4 or =7 (when it works) will produce good convergence diagnostics for the same model estimation in which mode=6 did not work. Mode=6 in my experience tends to produce spiky posteriors, and the convergence diagnostics indicate that no convergence has occurred (even after hundreds of thousands of replications in multiple chains.)
reluginbuhl
 
Posts: 53
Joined: Wed Mar 04, 2009 2:41 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests

cron