Bootstrap a statistic
Updated 4 Apr 2016
Function BSTRAP computes values of user-defined scalar-, vector- or matrix-valued statistics in the original sample, and in B bootstrap samples of size m <=n, where n is the number of rows in X. Addressing limitations of BOOTSTRP (Statistics Toolbox, v. 5-6), BSTRAP accepts 'fixed', i.e. non-resampled, matrix-valued input arguments, and allows both matrix- and structure-valued output - which can be summarized with function BSTATS, calculating average, sample variance and (2.5, 97.5) percentiles of a bootstrap distribution.
Dimitri Shvorob (2023). Bootstrap a statistic (https://www.mathworks.com/matlabcentral/fileexchange/14664-bootstrap-a-statistic), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Resampling Techniques >
Inspired by: Plot a univariate histogram
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.