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
引用格式
Jared X Van Snellenberg (2018). BCa_bootstrap (https://www.mathworks.com/matlabcentral/fileexchange/69119), MATLAB Central File Exchange. Retrieved [DATE].
MATLAB 版本兼容性
创建方式
R2018b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Hypothesis Tests 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!