metamedian {metamedian} | R Documentation |
Meta-Analysis of the (difference of) medians
Description
This function is a wrapper function for the qe
, cd
, and pool.med
functions. The function implements the methods of McGrath et al. (2019), McGrath et al. (2020), and Ozturk and Balakrishnan (2020) to estimate the pooled (difference of) medians in a meta-analysis. Specifically, the function implements the (weighted) median of medians method, the Ozturk and Balakrishnan (2020) method, and the quantile matching estimation method to meta-analyze one-group studies; the function implements the (weighted) median of the difference of medians method and quantile matching estimation method to meta-analyze two-group studies.
Usage
metamedian(
data,
median_method = "qe",
single.family = FALSE,
loc.shift = FALSE,
norm.approx = TRUE,
coverage.prob = 0.95,
cd_method = "RE",
pool_studies = TRUE,
...
)
Arguments
data |
data frame containing the study-specific summary data. For one-group studies, this data frame can contain the following columns:
For two group studies, this data frame can also contain the following columns for the summary data of the second group: | ||||||||||||||||||||||||||
median_method |
character string specifying the approach used to estimate the study-specific means and their standard errors. The options are
| ||||||||||||||||||||||||||
single.family |
(only applicable when | ||||||||||||||||||||||||||
loc.shift |
(only applicable when | ||||||||||||||||||||||||||
norm.approx |
(only applicable when | ||||||||||||||||||||||||||
coverage.prob |
(only applicable when | ||||||||||||||||||||||||||
cd_method |
(only applicable when | ||||||||||||||||||||||||||
pool_studies |
logical scalar specifying whether to meta-analyze the studies. If this argument is set to | ||||||||||||||||||||||||||
... |
(only applicable when |
Value
an object of class "rma.uni" (when median_method
is set to "qe"
) or a list (when median_method
is set to "mm"
, "wm"
, or "cd"
). For additional details, see rma.uni
(when median_method
is set to "qe"
), pool.med
(when median_method
is set to "mm"
or "wm"
), and cd
(when median_method
is set to "cd"
).
References
McGrath S., Zhao X., Qin Z.Z., Steele R., and Benedetti A. (2019). One-sample aggregate data meta-analysis of medians. Statistics in Medicine, 38, 969-984.
McGrath S., Sohn H., Steele R., and Benedetti A. (2020). Meta-analysis of the difference of medians. Biometrical Journal, 62, 69-98.
McGrath S., Zhao X., Ozturk O., Katzenschlager S., Steele R., and Benedetti A. (in press). metamedian: An R package for meta-analyzing studies reporting medians. Research Synthesis Methods.
Ozturk O. and Balakrishnan N. (2020). Meta‐analysis of quantile intervals from different studies with an application to a pulmonary tuberculosis data. Statistics in Medicine, 39, 4519-4537.
Examples
## Quantile Matching Estimation method
metamedian(data = dat.age, median_method = "qe")
## Median of the Difference of Medians method
metamedian(data = dat.age, median_method = "mm")
## Weighted Median of the Difference of Medians method
metamedian(data = dat.age, median_method = "wm")