multimodal posterior density

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.

multimodal posterior density

Postby Vermandel » Fri Apr 05, 2013 11:03 am

Hello,
I've got something strange regarding posterior distributions of parameters. I estimate a 2 country model with cross border loans under different scenario. One of the scenario has some quite strange results concerning the productivity shock as you can see in the picture. I run 350k MH iterations and neglict the 1st half of the sample. I solved this by reeastimating from scratch the model but by curiosity i'd to know why this kind of multimodal posterior density comes up.

Image
Vermandel
 
Posts: 7
Joined: Wed Jul 06, 2011 11:06 am
Location: Paris

Re: multimodal posterior density

Postby jpfeifer » Fri Apr 05, 2013 6:24 pm

It looks like you chain has not converged yet. Plot the draws and see whether you see a trend. If yes, put more effort into the mode computation.
------------
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: multimodal posterior density

Postby reubenpjacob » Tue Apr 09, 2013 5:20 am

Yes, finding a well-behaved hessian at the mode will definitely alleviate the problem. you also probably noticed that the acceptance ratio is not very stable during your MCMC?
Reuben
reubenpjacob
 
Posts: 133
Joined: Fri Oct 06, 2006 3:23 pm
Location: Reserve Bank of New Zealand

Re: multimodal posterior density

Postby Vermandel » Fri Apr 19, 2013 9:10 am

thanks you for your responses jpfeifer and reubenpjacob.

Yes reubenpjacob you're right, the acceptance ratio is not stable at all during MCMC.

I'd like to know how this can be solved up. There shouldnt be a trend in my data (i used a linear trend and variables are per capitae). From your advices jpfeifer, I run a diagnostic Brooks Gelman MCMC diagnoctics and there some problem convergence (see the picture). I suppose to solve this I need to change the value of mh_jscale=0.20 to an higher value (a value of 0.6 solves it). In dynare manual it's written that the default value (0.2) is rarely satisfactory. This option must be tuned to obtain, ideally, an acceptation rate of 25% in the Metropolis-Hastings algorithm. Is there any way to get a kind of optimal value of mh_jscale (or get close to this optimal value) ?


Image
Image
Vermandel
 
Posts: 7
Joined: Wed Jul 06, 2011 11:06 am
Location: Paris

Re: multimodal posterior density

Postby jpfeifer » Sun Apr 21, 2013 8:04 am

You could try a very intensive run of mode_compute=6. Alternatively, try using mode_compute=9.
------------
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: multimodal posterior density

Postby reubenpjacob » Mon Apr 22, 2013 11:53 pm

yes, mode_compute= 8 or 9 usually gives good estimates of the Hessian at the mode.
reuben
reubenpjacob
 
Posts: 133
Joined: Fri Oct 06, 2006 3:23 pm
Location: Reserve Bank of New Zealand


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests