This works fine:
fit.mc1 <-MCMCglmm(bull~1,random=~school,data=dt1,family="categorical",
prior=list(R=list(V=1, fix=1), G=list(G1=list(V=1, nu=0))), slice=T)
So does this:
fit.glmer <- glmer(bull~(1|school),data=dt1,family=binomial)
But now I am trying to work with the package glmmadmb and this does not work:
fit.mc12 <- glmmadmb(bull~1+(1|school), data=dt1, family="binomial",
mcmc=TRUE, mcmc.opts=mcmcControl(mcmc=50000))
It generates the error:
Error in glmmadmb(bull~ 1 + (1 | school), data = dt1, family = "binomial", :
The function maximizer failed (couldn't find STD file)
In addition: Warning message:
running command '<snip>\cmd.exe <snip>\glmmadmb.exe" -maxfn 500 -maxph 5
-noinit -shess -mcmc 5000 -mcsave 5 -mcmult 1' had status 1