Learn R Programming

metagen (version 1.0)

intervalEstimates: 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

Run this code
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)

Run the code above in your browser using DataLab