Learn R Programming

npsm (version 2.0.0)

hodges_lehmann.ci: Hodges-Lehmann type estimation and confidence intervals.

Description

Hodges-Lehmann type estimation and confidence intervals.

Usage

hodges_lehmann.ci(x, y, var.equal = FALSE, conf.level = 0.95, ...)

Value

estimate

parameter point estimate

stderr

estimated standard error of point estimate

conf.int

estimated confidence interval

Arguments

x

numeric vector.

y

numeric vector.

var.equal

logical. Assume scales are equal (TRUE) of not (FALSE).

conf.level

confidence level to be used for the confidence interval.

...

optional arguments. currently unused.

Author

John Kloke, Joseph McKean

Details

Currently implements 2-sample estimation and confidence intervals based on methods purposed by Hodges and Lehnmann.

References

Hollander, M. and Wolfe, D.A. (1999), Nonparametric Statistical Methods, New York: Wiley.

Kloke, J. and McKean, J.W. (2014), Nonparametric statistical methods using R, Boca Raton, FL: Chapman-Hall.

See Also

Examples

Run this code
zoo<-c(390,258,298,255,324,240,416,319,225,284)
rh <- c(187,186,179,269,382,264,353 ,38,350,267,229,383,254,302,195, 43,337,390)
hodges_lehmann.ci(zoo,rh)

Run the code above in your browser using DataLab