Wan.std: Wan et al.'s standard deviation estimators

Description Usage Arguments References Examples

View source: R/BLUE.R

Description

Use Wan et al.'s methods (Wan et al., 2014) to estimate the sample standard deviation based on sample quantiles derived summaries for a single study.

Usage

1
Wan.std(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

Wan X,Wang W, Liu J, and Tong T. (2014). Estimating the sample mean and standard deviation from the sample size, median, range and/or interquartile range. BMC Medical Research Methodology, 14:135.

Examples

1
2
3
4
X<-c(1,4,10)
n<-30
type<-"S1"
Wan.std(X,n,type)

metaBLUE documentation built on May 29, 2018, 9:04 a.m.