Skip to content
Prev 12575 / 20628 Next

MCMC fitting in glmmADMB

You can use mcmcControl(mcsave=...), as illustrated below.

library("glmmADMB")

om <- glmmadmb(SiblingNegotiation~FoodTreatment*SexParent+
                (1|Nest)+offset(log(BroodSize)),
               zeroInflation=TRUE,family="nbinom",data=Owls,
               mcmc=TRUE,
               mcmc.opts=mcmcControl(mcmc=200))
nrow(om$mcmc) ## 20

om2 <- glmmadmb(SiblingNegotiation~FoodTreatment*SexParent+
                (1|Nest)+offset(log(BroodSize)),
               zeroInflation=TRUE,family="nbinom",data=Owls,
               mcmc=TRUE,
               mcmc.opts=mcmcControl(mcmc=200,mcsave=20))
nrow(om2$mcmc)  ## 10


On Thu, Oct 16, 2014 at 7:18 AM, maren <maren.rebke at avitec-research.de>
wrote: