Computes a percentile-based confidence interval for a summary statistic, based on a vector of bootstrap or permutation replicates.
Value
A named numeric vector with two elements:
lower
and upper
, corresponding to the lower and upper
bounds of the percentile confidence interval.
Details
The percentile confidence interval is defined by taking the \(\alpha/2\) and \(1 - \alpha/2\) quantiles of the bootstrap distribution, where \(\alpha = 1 - \text{conf.level}\).
This method does not rely on the symmetry or normality of the sampling distribution and is often used in bootstrap analysis.
See also
computeStandardCI
for standard normal/t-based intervals.