mice.impute.sample {mice} | R Documentation |
Imputes a random sample from the observed y data
mice.impute.sample(y, ry, x=NULL)
y |
Incomplete data vector of length n |
ry |
Vector of missing data pattern (FALSE=missing, TRUE=observed) |
x |
Matrix (n x p) of complete covariates. |
This function takes a simple random sample from the observed values in y, and returns these as imputations.
A vector of length nmis with imputations.
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.