- All Implemented Interfaces:
Serializable
,Comparable<LeveneStat.Mode>
- Enclosing class:
- LeveneStat
The mode for a Levene's test.
Levene's original paper used the mean value of each
subgroup when computing the array zij used
by
LeveneStat
.
For k subgroups indexed by i, with j the index within
a subgroup, then for a data set Yij,
zij = |Yij - Mi|
where Mi is defined as either
- the mean of the ith subgroup.
- the median of the ith subgroup.
- the 10% trimmed mean of the ith subgroup.
- See Also:
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LeveneStat.Mode
Returns the enum constant of this type with the specified name.static LeveneStat.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MEAN
Indicate the use of the mean for the ith subgroup. -
MEDIAN
Indicate the use of the median for the ith subgroup. -
TRIMMED
Indicate the use of the 10% trimmed mean for the ith subgroup.Note: this option needs additional testing.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-