Luo.mean {metaBLUE}R Documentation

Luo et al.'s mean estimators

Description

Use Luo et al.'s methods (Luo et al., 2016) to estimate the sample mean based on sample quantiles derived summaries for a single study.

Usage

Luo.mean(X, n, type)

Arguments

X

a vector of ordered summary statistics

n

the sample size

type

a character string indicating which type of summary statistics is reported. The options for the type argument are:

  • "S1" for the sample mean, minimum and maximum values

  • "S2" for the sample mean, first and third quartiles

  • "S3" for the sample mean, first and third quartiles, and minimum and maximum values

References

Luo D, Wan X, Liu J, and Tong T. (2016). Optimally estimating the sample mean from the sample size, median, mid-range, and/or mid-quartile range. Statistical Methods in Medical Research, arXiv:1505.05687.

Examples

X<-c(1,4,10)
n<-30
type<-"S1"
Luo.mean(X,n,type)

[Package metaBLUE version 1.0.0 Index]