I have a fixed design regression problem that I am trying to get bootstrap BCa confidence intervals for, using R. Here is an example (using lmRob) but this is only for illustration:
require(robust)
data(stack.dat)
stack.rob <- lmRob(Loss ~ ., data = stack.dat)
summary(stack.rob)
Call:
lmRob(formula = Loss ~ ., data = stack.dat)
Residuals:
Min 1Q Median 3Q Max
-8.6299 -0.6713 0.3594 1.1507 8.1740
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -37.65246 5.00256 -7.527 8.29e-07 ***
Air.Flow 0.79769 0.07129 11.189 2.91e-09 ***
Water.Temp 0.57734 0.17546 3.291 0.00432 **
Acid.Conc. -0.06706 0.06512 -1.030 0.31757
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 1.837 on 17 degrees of freedom
Multiple R-Squared: 0.6205
Test for Bias:
statistic p-value
M-estimate 2.751 0.6004
LS-estimate 2.640 0.6197
There are the boot and the bootstrap packages in R (and also code as given here, but both of them derive non-parametric bootstrap BCa confidence intervals. This, however is a fixed-design regression setup. I am therefore wondering if there is R software available for bootstrap BCa confidence intervals fixed-design regression. An example of a R package or similar using lm would be fine, too.
Thanks!