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

View source: R/hodges_lehmann.ci.R

hodges_lehmann.ciR Documentation

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, ...)

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.

Details

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

Value

estimate

parameter point estimate

stderr

estimated standard error of point estimate

conf.int

estimated confidence interval

Author(s)

John Kloke, Joseph McKean

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

wilcox.test

Examples

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)

npsm documentation built on Nov. 15, 2023, 1:08 a.m.