Displaying 1 result from an estimated 1 matches for "dul2".
Did you mean:
dul
2004 Feb 11
0
gelman.diag question
...ect number of dimensions
Then, as described below,I tried other way to create the mcmc object but I
get the message "Error in gelman.diag(dul3) : You need at least two chains".
I think I am not understanding how the Gelman-Rubin test works in R. Could
you give me a small example.
> dul2<-mcmc(b1<-as.matrix(samp[,1]),start=1, end=10000, thin=10)
> dul3<-matrix(1000,2,c(dul,dul2))
> is.mcmc(dul3)
[1] FALSE
> dul3<-as.mcmc(dul3)
> is.mcmc(dul3)
[1] TRUE
> gelman.diag(dul3)
Error in gelman.diag(dul3) : You need at least two chains
I really appreciate your p...