Bootstrap a statistic

(Extension of BOOTSTRP)
3.6K Downloads
Updated 4 Apr 2016

View License

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.

Cite As

Dimitri Shvorob (2024). Bootstrap a statistic (https://www.mathworks.com/matlabcentral/fileexchange/14664-bootstrap-a-statistic), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

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!

bstrap/html/

Version Published Release Notes
1.0.0.0

BSD