ml.shrink(b, dat)
m
matrix of regression coefficients, derived by resampling or
sample-splittingp
x m
data matrix, where the final column is a
binary outcome variable. This dataset acts as a "test set" or "validation set".bootval
, splitval
,
kcrossval
and loocval
to estimate a shrinkage factor. For further details,
see References. This function should not be used directly, and instead should
be called via one of the aforementioned shrinkage-after-estimation functions.
Steyerberg, E. W. "Clinical Prediction Models", Springer (2009)