Bootstrap a statistic

(Extension of BOOTSTRP)
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 (, MATLAB Central File Exchange. Retrieved .

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

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!


Version Published Release Notes