Description Usage Arguments Value Examples
Calculates the so called Q-profiling confidence interval for the heterogeneity for data following a random effects meta regression model.
1 | hConfidence(y, d, x, sgnf)
|
y |
k-vector of study responses. |
d |
k-vector of heteroscedasticity. |
x |
design k-p-matrix. |
sgnf |
significance levels. |
A data frame containing the bounds of the interval estimate.
1 2 3 4 5 6 7 8 9 10 11 | bcg <- bcgVaccineData()
bcg_y <- bcg$logrisk
bcg_d <- bcg$sdiv
bcg_s <- bcg$size
bcg_x <- cbind(1,bcg$x)
sgnf_lev <- c(0.01, 0.025, 0.05, 0.01)
set.seed(865287113) # for reproducibility
hConfidence(y=bcg_y, d=bcg_d, x=bcg_x, sgnf=0.025)
hConfidence(y=bcg_y, d=bcg_d, x=bcg_x, sgnf=sgnf_lev)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.