mood | R Documentation |
mood()
performs the Mood test and is used in chapter 6 of "Applied Nonparametric Statistical Methods" (5th edition)
mood(
x,
y,
H0 = NULL,
alternative = c("two.sided", "less", "greater"),
max.exact.cases = 25,
do.asymp = FALSE,
do.exact = TRUE
)
x |
Numeric vector |
y |
Numeric vector |
H0 |
Null hypothesis value (defaults to |
alternative |
Type of alternative hypothesis (defaults to |
max.exact.cases |
Maximum number of cases allowed for exact calculations (defaults to |
do.asymp |
Boolean indicating whether or not to perform asymptotic calculations (defaults to |
do.exact |
Boolean indicating whether or not to perform exact calculations (defaults to |
An ANSMtest object with the results from applying the function
# Example 6.12 from "Applied Nonparametric Statistical Methods" (5th edition)
mood(ch6$typeA, ch6$typeB)
mood(ch6$typeA, ch6$typeB, do.exact = FALSE, do.asymp = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.