[R] Metropolis acceptance rates

From: Michael Margolis <michael.margolis_at_ugto.org>
Date: Tue, 08 Apr 2008 07:33:25 -0500

Is there a way to recover Metropolis-step acceptance rates AFTER completing posterior draws?

The immediate application is in the probit.bayes and logit.bayes models used by Zelig... which I believe is merely calling MCMCpack. So one strategy, to which I am fixing to resort, is to call, say, MCMClogit with verbose set to mcmc (or mcmc divided by an integer) and then look at my screen. But it seems odd that this datum is not being put into output objects, so I wonder if I'm missing something.

Plus sometimes I can save the output object, but then the power goes out and what's on screen is gone forever.


Michael Margolis
Profesor Investigador
Escuela de Economķa
Universidad de Guanajuato
UCEA-Campus Marfil, Fracc 1
El Establo, Guanajuato, Gto. CP 36250
(52)(473) 735 29 25 Ext. 2858

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 08 Apr 2008 - 12:44:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Apr 2008 - 19:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive