Quick question to load_mh_file

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.

Quick question to load_mh_file

Postby Palumenis » Mon Apr 04, 2016 9:25 am

Hi all,

is it the same if I

a) estimate a model with 100.000 draws (mh_replic=100000)
b) estimate a model with 50.000 draws (mh_replic=50000) twice with (load_mh_file)?

I suppose yes, but just want to make sure. Thanks in advance!
Palumenis
 
Posts: 5
Joined: Mon Nov 18, 2013 1:55 pm

Re: Quick question to load_mh_file

Postby jpfeifer » Tue Apr 05, 2016 6:36 pm

This will largely (but not completely) be the same. Before Dynare 4.5 the load_mh_file option will not continue with the same state of the random number generator, leading to usually small differences (if your chain converged to the ergodic distribution). When using the load_mh_file option, you should use mode_compute=0 together with the mode_file option to make sure you continue with the same proposal density derived from the mode as in the previous estimation (In newer Dynare versions mode-finding should be pseudo-deterministic so that the same proposal should be used, but better be safe than sorry).
------------
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


Return to Dynare help

Who is online

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