mood.test {ctest} | R Documentation |
Performs Mood's two-sample test of scale.
mood.test(x, y, alternative = "two.sided")
x, y |
numeric vectors of data values. |
alternative |
indicates the alternative hypothesis and must be
one of "two.sided" , "greater" or "less" .
You can specify just the initial letter. |
The underlying model is that the two samples are drawn from f(x-l) and f((x-l)/s)/s, respectively, where l is a common location parameter and s is a scale parameter.
The null hypothesis is s = 1.
There are more useful tests for this problem.
"htest"
containing the following
components:
statistic |
the value of the test statistic. |
p.value |
the p-value of the test. |
alternative |
a character string describing the alternative hypothesis. |
method |
the string "Mood two-sample test of scale" . |
data.name |
a character string giving the names of the data. |