mice.impute.pmm(y, ry, x, ...)
mice.impute.pmm2(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.mice.impute.pmm2() is about five times faster than mice.impute.pmm(), and was added to mice 2.13. If
pmm2() holds up after testing, expect it to replace the default function
pmm() in a future version of mice.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.