fabregCI {fabCI} | R Documentation |
Compute the adaptive FAB t-intervals for the coefficients of a regression model.
fabregCI(y, X, alpha = 0.05, dof = min(50, round(0.5 * (dim(X)[1] -
dim(X)[2]))), verbose = TRUE)
y |
a numeric vector of data |
X |
a design matrix |
alpha |
the type I error rate, so 1-alpha is the coverage rate |
dof |
degrees of freedom to use for the t-quantiles (the remainder go to adaptive estimation of the prior) |
verbose |
logical, print progress or not |
This function computes the adaptive FAB confidence interval for each coefficient in a linear regression model.
A matrix where each row corresponds to the interval and OLS estimate of a coefficient.
Peter Hoff