mice.impute.pmm(y, ry, x, ...)y (TRUE=observed, FALSE=missing)length(y) rows and p columns containing
complete covariates.sum(!ry) with imputationsy by predictive mean matching, based on Rubin (1987, p. 168, formulas a and b).
The procedure is as follows:
yobsbeta andymisbeta*ymis, find the observation with closest predicted
value, and take its observed value inyas the imputation.y, NOT on observedy.Rubin, D.B. (1987). Multiple imputation for nonresponse in surveys. New York: Wiley.
Van Buuren, S., Brand, J.P.L., Groothuis-Oudshoorn C.G.M., Rubin, D.B. (2006)
Fully conditional specification in multivariate imputation.
Journal of Statistical Computation and Simulation, 76, 12, 1049--1064.
Van Buuren, S., Groothuis-Oudshoorn, K. (2011).
mice: Multivariate Imputation by Chained Equations in R.
Journal of Statistical Software, 45(3), 1-67.