Included m-files offer two closely related applications of companion File Exchange submission BSTRAP, implementing 'simple bootstrap' and '0.632 bootstrap' prediction-error estimators, as described in Section 17.6 of Efron and Tibshirani (1993). (OLS regression is taken up as an example, and prediction error is measured with MSE). The code illustrates BSTRAP syntax, and can be modified to employ different estimators/error metrics. (Notably, a cross-validation routine can be produced with minimal effort).
Dimitri Shvorob (2023). Bootstrap prediction error rate (https://www.mathworks.com/matlabcentral/fileexchange/14665-bootstrap-prediction-error-rate), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!