Package dev.nm.stat.test.variance
Enum Levene.Type
- java.lang.Object
-
- java.lang.Enum<Levene.Type>
-
- dev.nm.stat.test.variance.Levene.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Levene.Type>
- Enclosing class:
- Levene
public static enum Levene.Type extends Enum<Levene.Type>
the available implementations when computing the absolute deviations
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MEANS
compute the absolute deviations from the group meansMEDIAN
compute the absolute deviations from the group mediansTRIMMED_MEANS
compute the absolute deviations from the group trimmed means
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Levene.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Levene.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEDIAN
public static final Levene.Type MEDIAN
compute the absolute deviations from the group medians
-
MEANS
public static final Levene.Type MEANS
compute the absolute deviations from the group means
-
TRIMMED_MEANS
public static final Levene.Type TRIMMED_MEANS
compute the absolute deviations from the group trimmed means
-
-
Method Detail
-
values
public static Levene.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Levene.Type c : Levene.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Levene.Type valueOf(String name)
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
-
-