mice.impute.mean {mice} | R Documentation |
Imputes the arithmetic mean of the observed data
mice.impute.mean(y, ry, x = NULL, ...)
y |
Incomplete data vector of length |
ry |
Vector of missing data pattern ( |
x |
Matrix ( |
... |
Other named arguments. |
A vector of length nmis
with imputations.
Imputing the mean of a variable is almost never appropriate. See Little and Rubin (1987).
Stef van Buuren, Karin Groothuis-Oudshoorn, 2000
Van Buuren, S., Groothuis-Oudshoorn, K. (2011). mice
:
Multivariate Imputation by Chained Equations in R
. Journal of
Statistical Software, 45(3), 1-67.
http://www.jstatsoft.org/v45/i03/
Little, R.J.A. and Rubin, D.B. (1987). Statistical Analysis with Missing Data. New York: John Wiley and Sons.