BLUE_s: BLUEs of individual location and scale parameters

Description Usage Arguments References Examples

View source: R/BLUE.R

Description

To obtain the best linear unbiased estimator (BLUE) of location and scale parameters based on any set of order statistics (Yang et al., 2018), where the underlying distribution is assumed to be normal.

Usage

1
BLUE_s(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

  • "tertiles" for tertiles, "quintiles" for quintiles, and "deciles" for deciles

References

Yang X, Hutson AD, and Wang D. (2018). A generalized BLUE approach for combining location and scale information in a meta-analysis (Submitted).

Examples

1
2
3
4
5
6
7
8
9
X<-c(1,4,10)
n<-30
type<-"S1"
BLUE_s(X,n,type)

X<-c(5,8)
n<-45
type<-"tertiles"
BLUE_s(X,n,type)

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