
Last chance! 50% off unlimited learning
Sale ends in
cv_MI
Cross-validation by applying multiple single imputation runs in train
and test folds. Called by function psfmi_perform
.
cv_MI(pobj, data_orig, folds, nimp_cv, BW, p.crit, miceImp, ...)
An object of class pmods
(pooled models), produced by a previous
call to psfmi_lr
.
dataframe of original dataset that contains missing data.
The number of folds, default is 3.
Numerical scalar. Number of (multiple) imputation runs.
If TRUE backward selection is conducted within cross-validation. Default is FALSE.
A numerical scalar. P-value selection criterium used for backward during cross-validation. When set at 1, pooling and internal validation is done without backward selection.
Wrapper function around the mice
function.
Arguments as predictorMatrix, seed, maxit, etc that can be adjusted for
the mice
function.
Martijn Heymans, 2020
psfmi_perform