Last chance! 50% off unlimited learning
Sale ends in
rma.uni
function. Confidence intervals for the model coefficients can also be obtained.## S3 method for class 'rma.uni':
cint(object, fixed=FALSE, random=TRUE, level=object$level,
digits=object$digits, control=list(), ...)
"rma.uni"
.FALSE
).TRUE
).fixed
and random
) with the following elements:coef.rma
.
The confidence interval for the amount of (residual) heterogeneity is obtained via the Q-profile method as described by Hartung and Knapp (2005) and Viechtbauer (2007). The method provides an exact confidence interval for $\tau^2$ in random- and mixed-effects models. The square root of the interval bounds is also returned for easier interpretation. For random-effects models, a confidence interval for $I^2$ is also provided. Since $I^2$ is just a monotonic transformation of $\tau^2$, the confidence interval for $I^2$ is also exact.rma.uni
### load BCG vaccine data
data(dat.bcg)
### meta-analysis of the log risk rates using a random-effects model
res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg,
data=dat.bcg, measure="RR", method="REML")
### confidence interval for the total amount of heterogeneity
cint(res)
### mixed-effects model with absolute latitude in the model
res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg, mods=ablat,
data=dat.bcg, measure="RR", method="REML")
### confidence interval for the residual amount of heterogeneity
cint(res)
Run the code above in your browser using DataLab