continuousSuperLearner {superMICE} | R Documentation |
Function to generate imputations using SuperLearner for data with a continuous outcome
Description
Function to generate imputations using SuperLearner for data with a continuous outcome
Usage
continuousSuperLearner(y, x, wy, SL.library, kernel, bw, bw.update, ...)
Arguments
y |
Vector of observed and missing/imputed values of the variable to be imputed. |
x |
Numeric matrix of variables to be used as predictors in SuperLearner models with rows corresponding to observed values of the variable to be imputed and columns corresponding to individual predictor variables. |
wy |
Logical vector. A TRUE value indicates locations in |
SL.library |
Either a character vector of prediction algorithms or a
list containing character vectors. A list of functions included in the
SuperLearner package can be found with |
kernel |
one of |
bw |
|
bw.update |
logical indicating whether bandwidths should be computed
every iteration or only on the first iteration. Default is |
... |
further arguments passed to |
Value
numeric vector of randomly drawn imputed values.