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