View source: R/mice.impute.lda.R
mice.impute.lda | R Documentation |
Imputes univariate missing data using linear discriminant analysis
mice.impute.lda(y, ry, x, wy = NULL, ...)
y |
Vector to be imputed |
ry |
Logical vector of length |
x |
Numeric design matrix with |
wy |
Logical vector of length |
... |
Other named arguments. Not used. |
Imputation of categorical response variables by linear discriminant analysis.
This function uses the Venables/Ripley functions lda()
and
predict.lda()
to compute posterior probabilities for each incomplete
case, and draws the imputations from this posterior.
This function can be called from within the Gibbs sampler by specifying
"lda"
in the method
argument of mice()
. This method is usually
faster and uses fewer resources than calling the function, but the statistical
properties may not be as good (Brand, 1999).
mice.impute.polyreg
.
Vector with imputed data, of type factor, and of length
sum(wy)
The function does not incorporate the variability of the
discriminant weight, so it is not 'proper' in the sense of Rubin. For small
samples and rare categories in the y
, variability of the imputed data
could therefore be underestimated.
Added: SvB June 2009 Tried to include bootstrap, but disabled since bootstrapping may easily lead to constant variables within groups.
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.
\Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v045.i03")}
Brand, J.P.L. (1999). Development, Implementation and Evaluation of Multiple Imputation Strategies for the Statistical Analysis of Incomplete Data Sets. Ph.D. Thesis, TNO Prevention and Health/Erasmus University Rotterdam. ISBN 90-74479-08-1.
Venables, W.N. & Ripley, B.D. (1997). Modern applied statistics with S-PLUS (2nd ed). Springer, Berlin.
mice
, link{mice.impute.polyreg}
,
lda
Other univariate imputation functions:
mice.impute.cart()
,
mice.impute.lasso.logreg()
,
mice.impute.lasso.norm()
,
mice.impute.lasso.select.logreg()
,
mice.impute.lasso.select.norm()
,
mice.impute.logreg.boot()
,
mice.impute.logreg()
,
mice.impute.mean()
,
mice.impute.midastouch()
,
mice.impute.mnar.logreg()
,
mice.impute.mpmm()
,
mice.impute.norm.boot()
,
mice.impute.norm.nob()
,
mice.impute.norm.predict()
,
mice.impute.norm()
,
mice.impute.pmm()
,
mice.impute.polr()
,
mice.impute.polyreg()
,
mice.impute.quadratic()
,
mice.impute.rf()
,
mice.impute.ri()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.