Description Usage Arguments Details Value Author(s)
Compute emprirical Bayes estimates of the error variance and distribution of the regression coefficients.
1 2 |
y |
a numeric vector of data |
X |
a design matrix |
emu |
(logical) estimate mean of coefficient (TRUE) or assume it is zero (FALSE)? |
dof |
degrees of freedom to use for the t-quantiles (the remainder go to adaptive estimation of the prior) |
This function computes the adaptive FAB confidence interval for each coefficient in a linear regression model.
A list (s,sigma2,tau2,mu) where
s an estimate of the error standard deviation
sigma2 an estimate of the error variance, independent of s
tau2 an estimate of the coefficient variance, independent of s
mu an estimate of the coefficient mean, independent of s
Peter Hoff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.