Learn R Programming

rma.exact

The function "rma.exact" aomputes an exact (up to monte carlo error), unconditional, non-randomized CI for the grand mean in a random effects meta-analysis assuming a normal-normal model for the primary study observations. This function implements the algorithm described in:

Michael, Thornton, Xie, and Tian (2017). Exact Inference on the Random Effects Model for Meta-Analyses with Few Studies. (Submitted.)

Example

Given K primary studies, suppose "yi" contains the reported effect estimates and "vi" their variances. Synthetic data is given below. An estimate of the grand mean is obtained as follows:

K <- 5 c0 <- 1 mu0 <- 0 tau2 <- 12.5 vi <- (seq(1, 5, length=K))^2 yi <- rnorm(K)*sqrt(vi+tau2)+mu0 rma.exact(yi=yi,vi=vi)

...

Copy Link

Version

Install

install.packages('rma.exact')

Monthly Downloads

183

Version

0.1.0

License

GPL-3

Maintainer

Haben Michael

Last Published

October 4th, 2017

Functions in rma.exact (0.1.0)

rma.exact.fast

Compute a confidence interval for the grand mean at a user-specified confidence level.
+.RMA.Exact

Combine confidence regions from two RMA.Exact objects
rma.exact

Compute an exact confidence interval for the grand mean in a normal-normal random effects meta-analysis.
confint.RMA.Exact

Compute a confidence interval for the population mean from an RMA.Exact object
plot.RMA.Exact

Plot a confidence region given by an RMA.Exact object