lm.mids {mice} | R Documentation |
Performs repeated linear regression on multiply imputed data set
lm.mids(formula, data, ...)
formula |
a formula object, with the response on the left of a ~ operator, and the terms, separated by + operators, on the right. |
data |
An object of type 'mids', which stands for 'multiply imputed data set', typically
created by function mice() . |
... |
Additional parameters passed to lm |
An objects of class 'mira', which stands for 'multiply imputed repeated analysis'. This object contains m lm.objects, plus some descriptive information.
Stef van Buuren, Karin Oudshoorn, 2000
Van Buuren, S. & Oudshoorn, C.G.M. (2000). Multivariate Imputation by Chained Equations: MICE V1.0 User's manual. Report PG/VGZ/00.038, TNO Prevention and Health, Leiden.
data(nhanes) imp <- mice(nhanes) # do default multiple imputation on a numeric matrix fit <- lm.mids(bmi~hyp+chl,data=imp)