extractDIC.mer: Extract AIC and DIC from a 'mer' model

Description Usage Arguments Author(s) Examples

Description

Computes the (generalized) Akaike *A*n *I*nformation *C*riterion and *D*eviance *I*nformation *C*riterion for a mer model.

Usage

1
2
3
extractDIC(fit,...)
## S3 method for class 'merMod'
extractDIC(fit,...)

Arguments

fit

fitted merMod mode, usually the result of a fiiter like merMod.

...

further arguments (currently unused).

Author(s)

Andrew Gelman [email protected]; Yu-Sung Su [email protected]

Examples

1
2
3
fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
extractAIC(fm1)
extractDIC(fm1)

Example output

Loading required package: MASS
Loading required package: Matrix
Loading required package: lme4

arm (Version 1.9-3, built: 2016-11-21)

Working directory is /work/tmp

[1]    6.000 1763.939
    DIC 
1760.25 

arm documentation built on April 17, 2018, 3:01 a.m.

Related to extractDIC.mer in arm...