overdisp.glmer: Estimation of overdispersion with 'glmer' models

Description Usage Arguments Author(s) See Also Examples

View source: R/overdisp.glmer.R

Description

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.

Usage

1

Arguments

model

a model fitted by glmer.

Author(s)

Ben Bolker

See Also

glmer

Examples

1
2
3
4
5
6
require(lme4)

# Example from the 'glmer' function
gm1 <- glmer(cbind(incidence,size-incidence)~period+(1|herd),
 family="binomial",data=cbpp)
overdisp.glmer(gm1)

Example output

*** Package RVAideMemoire v 0.9-68 ***
Loading required package: lme4
Loading required package: Matrix

Attaching package: 'lme4'

The following object is masked from 'package:RVAideMemoire':

    dummy

Residual deviance: 73.474 on 51 degrees of freedom (ratio: 1.441)

RVAideMemoire documentation built on Aug. 21, 2017, 5:07 p.m.