cv_MI_RR
Cross-validation by applying multiply imputed pooled models in train
and test folds. Called by function psfmi_perform
.
cv_MI_RR(pobj, data_orig, folds, nimp_mice, p.crit, BW, 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.
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.
If TRUE backward selection is conducted within cross-validation. Default is FALSE.
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