extractDIC {arm} | R Documentation |
Extract AIC and DIC from a ‘mer’ model
Description
Computes the (generalized) Akaike *A*n *I*nformation *C*riterion and *D*eviance *I*nformation *C*riterion for a mer model.
Usage
extractDIC(fit,...)
## S3 method for class 'merMod'
extractDIC(fit,...)
Arguments
fit |
fitted |
... |
further arguments (currently unused). |
Author(s)
Andrew Gelman gelman@stat.columbia.edu; Yu-Sung Su suyusung@tsinghua.edu.cn
Examples
fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
extractAIC(fm1)
extractDIC(fm1)
[Package arm version 1.14-4 Index]