estmeansd: Estimating the Sample Mean and Standard Deviation from Commonly Reported Quantiles in Meta-Analysis

Build_Status CRAN_Status_Badge CRAN_Download_Badge CRAN_Download_Badge_All

The estmeansd package implements the methods of McGrath et al. (2019) for estimating the sample mean and standard deviation from commonly reported quantiles in meta-analysis. Specifically, these methods can be applied to studies that report one of the following sets of summary statistics:

Additionally, the Shiny app estmeansd implements these methods.

Installation

You can install the released version of estmeansd from CRAN with:

install.packages("estmeansd")

After installing the devtools package (i.e., calling install.packages(devtools)), the development version of estmeansd can be installed from GitHub with:

devtools::install_github("stmcg/estmeansd")

Usage

Specifically, this package implements the Box-Cox (BC) and Quantile Estimation (QE) methods to estimate the sample mean and standard deviation. The BC and QE methods can be applied using the bc.mean.sd() and qe.mean.sd() functions, respectively:

library(estmeansd)
bc.mean.sd(min.val = 2, med.val = 4, max.val = 9, n = 100) # BC Method
#> $est.mean
#> [1] 4.204881
#> 
#> $est.sd
#> [1] 1.277236
qe.mean.sd(min.val = 2, med.val = 4, max.val = 9, n = 100) # QE Method
#> $est.mean
#> [1] 4.347284
#> 
#> $est.sd
#> [1] 1.502171