Skip to content
Prev 30835 / 398506 Next

MCMCpack gelman.plot and gelman.diag

2 problems here--

1) you need to use different seeds in the three runs. you can do this by
specifying the seed argument in MCMCregress().

2) if you look at the C++ code the first full-conditional that is sampled
from is [\beta|\sigma^2, y]. Since you are using the same starting values
for \sigma^2 in all three runs (and the same seed) you are getting exactly
the same stream of draws in each run.

if you specify seed and sigma2.start differently for each run you should
be able to use the Gelman diagnostics.

KQ
On Fri, 18 Apr 2003 sung-youn.kim at stonybrook.edu wrote:

            
--------------------------------------------------------
Kevin Quinn
Assistant Professor
Department of Political Science and
Center for Statistics and the Social Sciences
Box 354320
Padelford Hall
University of Washington
Seattle, WA  98195-4320

Office: (206) 221-6981
Fax:    (206) 221-6873
Email:  quinn at stat.washington.edu