Calculate resampling BCa confidence intervals for intercept, slope or bias given a vector of bootstrap and jackknife point estimates.
mc.calc.bca(Xboot, Xjack, xhat, alpha)
vector of point estimates for bootstrap samples. The i-th element contains point estimate of the i-th bootstrap sample.
vector of point estimates for jackknife samples. The i-th element contains point estimate of the dataset without i-th observation.
point estimate for the complete data set (scalar).
numeric value specifying the 100(1-alpha)% confidence level for the confidence interval (Default is 0.05).
a list with elements
point estimate for the complete data set (xhat).
confidence interval for point estimate.
Carpenter, J., Bithell, J. (2000) Bootstrap confidence intervals: when, which, what? A practical guide for medical statisticians. Stat Med, 19 (9), 1141--1164.