intervalEstimates: Interval estimates: For the regression coefficients

Description Usage Arguments Examples

View source: R/methods-for-inference.R

Description

Interval estimates: For the regression coefficients

Usage

1
  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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

metagen documentation built on May 29, 2017, 7:13 p.m.