overdisp.glmer {RVAideMemoire} | R Documentation |
glmer
models
Estimates residual deviance and residual degrees of freedom to check for overdispersion with glmer
models. This function is directly comming from http://glmm.wikidot.com/faq
.
overdisp.glmer(model)
model |
a model fitted by |
Ben Bolker
require(lme4)
# Example from the 'glmer' function
gm1 <- glmer(cbind(incidence,size-incidence)~period+(1|herd),
family="binomial",data=cbpp)
overdisp.glmer(gm1)