You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Computes the bias-corrected and accelerated bootstrap estimate for confidence intervals and 2-tailed p-values of Efron, B., & Tibshirani, R. J. (1993). An Introduction to the Bootstrap, Chapman & Hall/CRC: New York.
Usage:
[p,CI] = BCa_bootstrap(data,loo,boot,null,confidence)
[p,CI] = BCa_bootstrap(data,loo,boot,null,confidence,adjustment)
p is the two-tailed p-value and CI is the confidence interval.
data - the statistic of interest calculated on the data
loo - a vector of length N of the leave-one-out values of the statistic
of interest.
boot - the bootstrapped values of the statistic of interest
null - (optional) the value of the statistic of interest under the null
hypothesis. Defaults to 0.
confidence - (optional) the % confidence for upper and lower bounds of
the confidence interval. Defaults to 95%
adjustment - (optional) NOT RECOMMENDED. This is included for a
specialized application. The integer value entered here will
include that many observations equal to the null value into
the bootstrap values AFTER calculating the bias and
acceleration.
Jared Van Snellenberg, PhD, 2009
Cite As
Jared X Van Snellenberg (2018). BCa_bootstrap (https://www.mathworks.com/matlabcentral/fileexchange/69119), MATLAB Central File Exchange. Retrieved [DATE].
General Information
- Version 1.0.2 (1.98 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
