problem with geweke's modified harmonic mean estimator

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 geweke's modified harmonic mean estimator

Postby pun_star » Mon May 28, 2007 7:19 am

i get the following message after doing the MCMC replications.
Warning: Log of zero.
> In metropolis at 822
In dynare_estimation at 778
In Version_25 at 448
In dynare at 26

have you guys had this problem with the harmonic mean estimator?

cheers
estefan
pun_star
 
Posts: 11
Joined: Wed Apr 18, 2007 7:00 am

Postby MichelJuillard » Mon May 28, 2007 8:07 am

Yes, it happens when you start Metropolis with a bad mode estimate and when the standard error of some parameter is estimated to be zero. This can be because the optimizer get stock againt a boundary.

It this case, there is no movement in that direction during the Metropolis iterations and you get this "log of zero" message. You can also get it if you only run a very small number of Metropolis iterations (mh_replic).

If it is a mode problem, look at the plot of the posterior densities. If you ran a large number of Metropolis iterations and that the computed posteriror mode (green vertical line) is different from the mode of the simulated posterior distribution (black line), you can try to restart optimization, using the readings of the mode on the black line as initial values for the optimization (estimated_params_init)


Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

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