lmer.mi {mi}R Documentation

Fit A Linear Mixed Model or A Generalized Linear Mixed Model for Multiply Imputed Dataset

Description

Fit A Linear Mixed Model or A Generalized Linear Mixed Model that pulls together the estimates from multiple imputed dataset.

Usage

lmer.mi(formula, mi.object, rescale=FALSE, ...)
glmer.mi(formula, mi.object, family = gaussian, rescale=FALSE, ...)
## S3 method for class 'mi.mer':
print(x, ...)
## S4 method for signature 'mi.mer':
coef(object)
## S4 method for signature 'mi.mer':
se.coef(object)
## S4 method for signature 'mi.mer':
display(object, digits=2)

Arguments

formula See lmer for detail.
mi.object mi object.
family See lmer for detail.
rescale default is FALSE, see rescale for detail.
x mi.mer object.
object mi.mer object.
digits number of significant digits to display, default=2.
... Any option to pass on to lmer function.

Details

See lmer.

Value

call the matched call.
mi.pooled pulled estimates from the multiple dataset.
mi.fit estimates from each dataset. See lmer for details.

Author(s)

Masanao Yajima yajima@stat.columbia.edu, Yu-Sung Su ys463@columbia.edu, M.Grazia Pittau grazia@stat.columbia.edu, Andrew Gelman gelman@stat.columbia.edu

References

Andrew Gelman and Jennifer Hill, Data Analysis Using Regression and Multilevel/Hierarchical Models, Cambridge University Press, 2007.

See Also

lmer


[Package mi version 0.04-6 Index]