Calculate bootstrap confidence intervals for intercept, slope or bias given a vector of bootstrap point estimates.
mc.calc.Student(Xboot, xhat, alpha, npoints)
vector of point estimates for each bootstrap sample. The i-th element contains the point estimate of the i-th bootstrap sample.
numeric value specifying the 100(1-alpha)% confidence level for the confidence interval (Default is 0.05).
global point estimate for which the confidence interval shall be computed.
number of points used for the regression analysis.
a list with elements
the point estimate xhat
standard deviation computed from bootstrap point estimates Xboot
Confidence interval for point estimate xhat, calculated as \(xhat +/- qt(1-alpha,n-2)*sd\).
Carpenter, J., Bithell, J. (2000) Bootstrap confidence intervals: when, which, what? A practical guide for medical statisticians. Stat Med, 19 (9), 1141--1164.