Package: metamedian 1.2.1

metamedian: Meta-Analysis of Medians

Implements several methods to meta-analyze studies that report the sample median of the outcome. The methods described by McGrath et al. (2019) <doi:10.1002/sim.8013>, Ozturk and Balakrishnan (2020) <doi:10.1002/sim.8738>, and McGrath et al. (2020a) <doi:10.1002/bimj.201900036> can be applied to directly meta-analyze the median or difference of medians between groups. Additionally, a number of methods (e.g., McGrath et al. (2020b) <doi:10.1177/0962280219889080>, Cai et al. (2021) <doi:10.1177/09622802211047348>, and McGrath et al. (2023) <doi:10.1177/09622802221139233>) are implemented to estimate study-specific (difference of) means and their standard errors in order to estimate the pooled (difference of) means. Methods for meta-analyzing median survival times (McGrath et al. (2025) <doi:10.48550/arXiv.2503.03065>) are also implemented. See McGrath et al. (2024) <doi:10.1002/jrsm.1686> for a detailed guide on using the package.

Authors:Sean McGrath [aut, cre], XiaoFei Zhao [aut], Stephan Katzenschlager [aut], Omer Ozturk [aut], Renata Iskander [ctb], Russell Steele [aut], Andrea Benedetti [aut]

metamedian_1.2.1.tar.gz
metamedian_1.2.1.zip(r-4.5)metamedian_1.2.1.zip(r-4.4)metamedian_1.2.1.zip(r-4.3)
metamedian_1.2.1.tgz(r-4.5-any)metamedian_1.2.1.tgz(r-4.4-any)metamedian_1.2.1.tgz(r-4.3-any)
metamedian_1.2.1.tar.gz(r-4.5-noble)metamedian_1.2.1.tar.gz(r-4.4-noble)
metamedian_1.2.1.tgz(r-4.4-emscripten)metamedian_1.2.1.tgz(r-4.3-emscripten)
metamedian.pdf |metamedian.html
metamedian/json (API)
NEWS

# Install 'metamedian' in R:
install.packages('metamedian', repos = c('https://stmcg.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stmcg/metamedian/issues

Datasets:
  • dat.age - Example data set: Comparing the age between COVID-19 survivors and nonsurvivors
  • dat.age_raw - Example data set: Comparing the age between COVID-19 survivors and nonsurvivors
  • dat.asat - Example data set: Comparing aspartate transaminase levels between COVID-19 survivors and nonsurvivors
  • dat.asat_raw - Example data set: Comparing aspartate transaminase levels between COVID-19 survivors and nonsurvivors
  • dat.ck - Example data set: Comparing creatine kinase levels between COVID-19 survivors and nonsurvivors
  • dat.ck_raw - Example data set: Comparing creatine kinase transaminase levels between COVID-19 survivors and nonsurvivors
  • dat.lung - Example data set: Overall survival times in patients with lung cancer
  • dat.phq9 - Example data set: Patient Health Questionnaire-9
  • dat.phq9_raw - Example data set: Patient Health Questionnaire-9

On CRAN:

Conda:

5.03 score 9 stars 16 scripts 371 downloads 5 mentions 8 exports 72 dependencies

Last updated 2 days agofrom:49ec56d6aa. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 18 2025
R-4.5-winOKMar 18 2025
R-4.5-macOKMar 18 2025
R-4.5-linuxOKMar 18 2025
R-4.4-winOKMar 18 2025
R-4.4-macOKMar 18 2025
R-4.4-linuxOKMar 18 2025
R-4.3-winOKMar 18 2025
R-4.3-macOKMar 18 2025

Exports:cddescribe_studiesmetameanmetamedianmetamedian_survivalpool.medqeqe.study.level

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tabledigestestmeansdevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSmathjaxrMatrixmemoisemetaBLUEmetadatmetaformgcvmimemunsellnlmennetnumDerivpbapplypillarpkgconfigR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapisassscalesstringistringrtibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Meta-Analysis via the confidence distribution approachcd
Example data set: Comparing the age between COVID-19 survivors and nonsurvivors (cleaned version)dat.age
Example data set: Comparing the age between COVID-19 survivors and nonsurvivors (raw version)dat.age_raw
Example data set: Comparing aspartate transaminase levels between COVID-19 survivors and nonsurvivors (cleaned version)dat.asat
Example data set: Comparing aspartate transaminase levels between COVID-19 survivors and nonsurvivors (raw version)dat.asat_raw
Example data set: Comparing creatine kinase levels between COVID-19 survivors and nonsurvivors (cleaned version)dat.ck
Example data set: Comparing creatine kinase transaminase levels between COVID-19 survivors and nonsurvivors (raw version)dat.ck_raw
Example data set: Overall survival times in patients with lung cancerdat.lung
Example data set: Patient Health Questionnaire-9 (PHQ-9) scores (processed version)dat.phq9
Example data set: Patient Health Questionnaire-9 (PHQ-9) scores (raw version)dat.phq9_raw
Descriptive statistics for meta-analyzing studies reporting sample mediansdescribe_studies
Meta-Analysis of the (difference of) meansmetamean
Meta-Analysis of the (difference of) mediansmetamedian
Meta-Analysis of the median survival timesmetamedian_survival
Defunct functions in package 'metamedian'metamedian-defunct
Meta-Analysis via median of (the difference of) medians methodpool.med
Print method for "describe_studies" objectsprint.describe_studies
Meta-Analysis via quantile estimation methodqe
Study-Level application of quantile estimation methodqe.study.level