mood.ci {npsm}R Documentation

Mood Median Confidence Interval

Description

Mood's classical nonparametric method for calculating a difference in population medians.

Usage

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

Arguments

x

n x 1 vector

y

m x 1 vector

var.equal

Logical. Assume scale of the two populations are equal.

conf.level

numeric value. confidence level for the confidence interval.

...

not currently implmented

Value

A vector of length 2 containing the lower and upper endpoints of the 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

hl.ci,wilcox.test

Examples

x <- rt(101,9)
y <- rt(108,9)+0.3
mood.ci(x,y)

[Package npsm version 2.0.0 Index]