.pmm.match | R Documentation |
This function finds matches among the observed data in the predictive
mean metric. It selects the donors
closest matches, randomly
samples one of the donors, and returns the observed value of the
match.
.pmm.match(z, yhat = yhat, y = y, donors = 5, ...)
z |
A scalar containing the predicted value for the current case to be imputed. |
yhat |
A vector containing the predicted values for all cases with an observed outcome. |
y |
A vector of |
donors |
The size of the donor pool among which a draw is made. The default is
|
... |
Other parameters (not used). |
This function is included for backward compatibility. It was
used up to mice 2.21
. The current mice.impute.pmm()
function calls the faster C
function matcher
instead of
.pmm.match()
.
A scalar containing the observed value of the selected donor.
Stef van Buuren
Schenker N & Taylor JMG (1996) Partially parametric techniques for multiple imputation. Computational Statistics and Data Analysis, 22, 425-446.
Little RJA (1988) Missing-data adjustments in large surveys (with discussion). Journal of Business Economics and Statistics, 6, 287-301.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.