boot632 | R Documentation |
The .632 bootstrap estimation of the MSE
boot632(y, x, id, fitFun, predFun)
y |
The vector of outcome values |
x |
The matrix of predictors |
id |
the sample indices resampled with replacement |
fitFun |
The function for fitting the prediction model |
predFun |
The function for evaluating the prediction model |
The implementation follows \insertCiteEfron1997oosse
The MSE estimate
estMSE bootOob
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.