Last data update: 2014.03.03
|
R: Interval estimates: For the regression coefficients
intervalEstimates | R Documentation |
Interval estimates: For the regression coefficients
Description
Interval estimates: For the regression coefficients
Usage
intervalEstimates(y, d, h_dat, x, sgnf)
Arguments
y |
study responses.
|
d |
heteroscedasticity.
|
h_dat |
data frame of tau estimates.
|
x |
design matrix.
|
sgnf |
significance levels.
|
Examples
bcg <- bcgVaccineData()
bcg_y <- bcg$logrisk
bcg_d <- bcg$sdiv
bcg_x <- cbind(1,bcg$x)
bcg_h <- hEstimates(y=bcg_y, d=bcg_d, x=bcg_x)
sgnf_lev <- c(0.01, 0.025, 0.05, 0.01)
intervalEstimates(y=bcg_y, d=bcg_d, h_dat=bcg_h, x=bcg_x, sgnf=0.025)
intervalEstimates(y=bcg_y, d=bcg_d, h_dat=bcg_h, x=bcg_x,
sgnf=sgnf_lev)
Results
|