localImputation {superMICE} | R Documentation |
Function to generate imputations using non-parametric and semi-parametric local imputation methods.
Description
Function to generate imputations using non-parametric and semi-parametric local imputation methods.
Usage
localImputation(
i,
preds,
y,
delta,
bw = NULL,
kernel = c("gaussian", "uniform", "triangular")
)
Arguments
i |
integer referring to the index of the missing value to be imputed. |
preds |
numeric vector of predictions of missing values from SuperLearner. |
y |
numeric vector for variable to be imputed. |
delta |
binary vector of length |
bw |
|
kernel |
one of |
Value
numeric vector of randomly drawn imputed values.
[Package superMICE version 1.1.1 Index]