
Performs a meta-analysis with a binary outcome using a bivariate generalized linear mixed model (GLMM) described in Chu et al. (2012).
meta.biv(sid, tid, e, n, data, link = "logit", alpha = 0.05,
b.iter = 1000, seed = 1234, ...)
This function returns a list containing the point and interval estimates of the marginal event rates (p0.m
, p0.m.ci
, p1.m
, and p1.m.ci
), odds ratio (OR.m
and OR.m.ci
), relative risk (RR.m
and RR.m.ci
), risk difference (RD.m
and RD.m.ci
), and correlation coefficient between the two treatment/exposure groups (rho
and rho.ci
). These interval estimates are obtained using the bootstrap resampling. During the bootstrap resampling, computational warnings or errors may occur for implementing the bivariate GLMM in some resampled meta-analyses. This function returns the counts of warnings and errors (b.w.e
). The resampled meta-analyses that lead to warnings and errors are not used for producing the bootstrap confidence intervals; the bootstrap iterations stop after obtaining b.iter
resampled meta-analyses without warnings and errors. If the logit link is used (link
= "logit"
), it also returns the point and interval estimates of the conditional odds ratio (OR.c
and OR.c.ci
), which are more frequently reported in the current literature than the marginal odds ratios. Unlike the marginal results that use the bootstrap resampling to produce their confidence intervals, the Wald-type confidence interval is calculated for the log conditional odds ratio; it is then transformed to the odds ratio scale.
a vector specifying the study IDs.
a vector of 0/1 specifying the treatment/exposure IDs (0: control/non-exposure; 1: treatment/exposure).
a numeric vector specifying the event counts.
a numeric vector specifying the sample sizes.
an optional data frame containing the meta-analysis dataset. If data
is specified, the previous arguments, sid
, tid
, e
, and n
, should be specified as their corresponding column names in data
.
a character string specifying the link function used in the GLMM, which can be either "logit"
(the default) or "probit"
.
a numeric value specifying the statistical significance level.
an integer specifying the number of bootstrap iterations, which are used to produce confidence intervals of marginal results.
an integer for specifying the seed of the random number generation for reproducibility during the bootstrap resampling.
other arguments that can be passed to the function glmer
in the package lme4.
Suppose a meta-analysis with a binary outcome contains
When using the logit link,
When using the probit link, the model does not yield the conditional odds ratio. The marginal probabilities have closed-form solutions:
Agresti A (2013). Categorical Data Analysis. Third edition. John Wiley & Sons, Hoboken, NJ.
Chu H, Nie L, Chen Y, Huang Y, Sun W (2012). "Bivariate random effects models for meta-analysis of comparative studies with binary outcomes: methods for the absolute risk difference and relative risk." Statistical Methods in Medical Research, 21(6), 621--633. <tools:::Rd_expr_doi("10.1177/0962280210393712")>
Jackson D, Law M, Stijnen T, Viechtbauer W, White IR (2018). "A comparison of seven random-effects models for meta-analyses that estimate the summary odds ratio." Statistics in Medicine, 37(7), 1059--1085. <tools:::Rd_expr_doi("10.1002/sim.7588")>
Stijnen T, Hamza TH, Ozdemir P (2010). "Random effects meta-analysis of event outcome in the framework of the generalized linear mixed model with applications in sparse data." Statistics in Medicine, 29(29), 3046--3067. <tools:::Rd_expr_doi("10.1002/sim.4040")>
Van Houwelingen HC, Zwinderman KH, Stijnen T (1993). "A bivariate approach to meta-analysis." Statistics in Medicine, 12(24), 2273--2284. <tools:::Rd_expr_doi("10.1002/sim.4780122405")>
maprop.glmm
, meta.dt
# \donttest{
data("dat.bellamy")
out.bellamy.logit <- meta.biv(sid, tid, e, n, data = dat.bellamy,
link = "logit", b.iter = 1000)
out.bellamy.logit
out.bellamy.probit <- meta.biv(sid, tid, e, n, data = dat.bellamy,
link = "probit", b.iter = 1000)
out.bellamy.probit
# }
Run the code above in your browser using DataLab