Skip to content
Prev 30832 / 398506 Next

MCMCpack gelman.plot and gelman.diag

Hi, 

A question. When I run gelman.diag and gelman.plot
with mcmc lists obtained from MCMCregress, the results are following.
+         thin = 10, verbose = FALSE, beta.start = NA, sigma2.start = NA,
+         b0 = 0, B0 = 0, nu = 0.001, delta = 0.001)
+         thin = 10, verbose = FALSE, beta.start = -3, sigma2.start = NA,
+         b0 = 0, B0 = 0, nu = 0.001, delta = 0.001)
+         thin = 10, verbose = FALSE, beta.start = 3, sigma2.start = NA,
+         b0 = 0, B0 = 0, nu = 0.001, delta = 0.001)
Potential scale reduction factors:

     Point est. 97.5% quantile
[1,]        NaN            NaN
[2,]        NaN            NaN
[3,]        NaN            NaN
[4,]        NaN            NaN

Multivariate psrf

1
******* Error: *******
Cannot compute Gelman & Rubin's diagnostic for any chain 
segments for variables (Intercept) Age Status sigma2 
This indicates convergence failure
 

Should I have run them with more chains? Any hint?

thanks in advance,