View source: R/metamedian_survival.R
metamedian_survival | R Documentation |
This function implements the Wald approximation-based approach described by McGrath et al. (2025) to meta-analyze median survival times. This approach considers that each study reports a Kaplan-Meier estimate of median survival in (each group of) each study along with confidence intervals. This approach performs an inverse-variance weighted meta-analysis of the median survival time (for one group studies) or the difference/ratio of median survival times between groups (for two-group studies). The within-study standard errors are estimated by assuming the confidence intervals around the median survival estimates are Wald-type intervals.
metamedian_survival(data, estimand, pool_studies = TRUE, ...)
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: | ||||||||
estimand |
character string specifying the estimand in the meta-analysis. The options are | ||||||||
pool_studies |
logical scalar specifying whether to meta-analyze the studies. If this argument is set to | ||||||||
... |
optional arguments that are passed into the |
an object of class "rma.uni". For additional details, see rma.uni
.
McGrath S., Kimmelman J., Ozturk O., Steele R., and Benedetti A. (2025). Meta-analysis of median survival times with inverse-variance weighting. arXiv e-prints arXiv:2503.03065.
## Median survival in the comparator group
metamedian_survival(data = dat.lung, estimand = "median_g2")
## Difference of median survival
metamedian_survival(data = dat.lung, estimand = "difference_median")
## Ratio of median survival (logarithm scale)
metamedian_survival(data = dat.lung, estimand = "ratio_median")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.