Mood Two-Sample Test of Scale

Usage

mood.test(x, y, alternative = "two.sided")

Arguments

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.

Description

Performs Mood's two-sample test of scale.

Details

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.

Value

A list with class "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.


[Package Contents]