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

Description Usage Arguments References Examples

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)

Example output

$sigmahat
[1] 2.205578

$sum_stat_index
[1]  1 16 30

$sum_stat
[1]  1  4 10

metaBLUE documentation built on May 1, 2019, 10:14 p.m.

Related to Wan.std in metaBLUE...