Bayesian time estimation issue

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.

Bayesian time estimation issue

Postby magonfru » Tue Nov 19, 2013 5:22 pm

Hello guys, I am trying to replicate a paper that does a bayesian estimation of a DSGE model with bubbles. The model is kinda big and it estimates 19 parameters using bayesian methods and it has 2,000,000 draws of the MH algorithm. I need the posterior mode and mean and the whole estimation process takes about 17 hours. I wonder if there is a way to save time in doing the estimation. I tried the following:

first I calculate the whole MH using the following command
Code: Select all
estimation(order=1, datafile=data_orig,mode_compute=6,mh_replic=2000000, mh_nblocks=2, mh_drop=0.2, mh_jscale=6) c_obs  i_obs n_obs ps_obs p_obs;

it works fine and it gives the mean, the mode, and all the info I need

, however, since I did not get the results that I wanted I tried changing the drop and the jump scale values, but using the MH draws that I already have by using the following command,
Code: Select all
estimation(order=1, datafile=data_orig,mode_compute=6,mh_replic=0, mh_nblocks=2, mh_drop=0.4, mh_jscale=12, load_mh_file) c_obs  i_obs n_obs ps_obs p_obs;


and I got the similar results that shows in http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=4605
when I use mh_replic=0 in combination with load_mh_file I just get the new posterior mod, but not the posterior mean.
is there a way around this?
Best Mario
magonfru
 
Posts: 12
Joined: Sun Oct 27, 2013 5:39 am

Re: Bayesian time estimation issue

Postby jpfeifer » Tue Nov 19, 2013 8:02 pm

Have you tried the recent snapshot? What exactly is the problem?

Based on my current understanding, the answer is no. You are loading a mode_file but don't run an MCMC chain. What is changing the percent of draws dropped at the beginning and the dispersion of the proposal density supposed to do when you are not running a chain?
If you just want to drop more draws at the beginning, you could do that manually by loading the mh-files.
------------
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: Bayesian time estimation issue

Postby magonfru » Tue Nov 19, 2013 11:21 pm

Sorry, maybe I was not clear (tends to happen). I need to do a Bayesian estimation of a DSGE model. I need to do 2,000,000 draws (that is what the paper that I am replicating says). I have estimated the model once, can I use those 2MM draws that I get for the first estimation to get another estimate if, for example, I see that the acceptation rate is not good?

As I tried to state before I use the mh_replic=0 because I already have all the draws that I need, but I still need to get the mean and mode.
I am sorry if I am not clear, I am new using dynare and doing bayesian estimation
thanks
magonfru
 
Posts: 12
Joined: Sun Oct 27, 2013 5:39 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 5 guests