Learn R Programming

npsm (version 2.0.0)

mood.ci: 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, ...)

Value

A vector of length 2 containing the lower and upper endpoints of the confidence interval.

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

Author

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

Examples

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

Run the code above in your browser using DataLab