Page 1 of 1

Metropolis Error

PostPosted: Wed Apr 18, 2007 3:39 pm
by pun_star
i get the following error when i do MCMC

Warning: Log of zero.
> In metropolis at 822
In dynare_estimation at 778
In Version_18_m at 403
In dynare at 26

i think this has to do with the log data density compution. have you guys encountered it?

PostPosted: Tue May 15, 2007 5:11 am
by MichelJuillard
This usually happens when the Metropolis iterations don't move enough. It is often due to a bad mode. Check for 0 standard deviation in the posterior mode report.

Best

Michel