mice.impute.pmm {mice}R Documentation

Elementary Imputation Method: Linear Regression Analysis

Description

Imputes univariate missing data using predictive mean matching

Usage

mice.impute.pmm(y, ry, x)

Arguments

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.

Details

Imputation of y by predictive mean matching, based on Rubin (p. 168, formulas a and b). The procedure is as follows:

  1. Draw $β$ and $σ$ from the proper posterior
  2. Compute predicted values for yobs and ymis
  3. For each $y_{mis}$, find the observation with closest predicted value, and take its observed $y$ as the imputation. The matching is on $hat{y}$, NOT on $y$, which deviates from formula b.

Value

imp A vector of length nmis with imputations.

Author(s)

Stef van Buuren, Karin Groothuis-Oudshoorn, 2000

References

Van Buuren, S., Groothuis-Oudshoorn, C.G.M. (2000) Multivariate Imputation by Chained Equations: MICE V1.0 User's manual. Leiden: TNO Quality of Life. http://www.stefvanbuuren.nl/publications/MICE V1.0 Manual TNO00038 2000.pdf

Rubin, D.B. (1987). Multiple imputation for nonresponse in surveys. New York: Wiley.


[Package mice version 1.21 Index]