Estimate MSE and its standard error
estMSE(
y,
x,
fitFun,
predFun,
methodMSE,
nFolds,
nInnerFolds,
cvReps,
nBootstraps
)A vector with MSE estimate and its standard error
The vector of outcome values
The matrix of predictors
The function for fitting the prediction model
The function for evaluating the prediction model
The method to estimate the MSE, either "CV" for cross-validation or "bootstrap" for .632 bootstrap
The number of outer folds for cross-validation
The number of inner cross-validation folds
The number of repeats for the cross-validation
The number of .632 bootstraps
The nested cross-validation scheme follows Bates2023oosse, the .632 bootstrap is implemented as in Efron1997oosse