Enum DataDispersion
- java.lang.Object
-
- java.lang.Enum<DataDispersion>
-
- org.apache.commons.statistics.inference.DataDispersion
-
- All Implemented Interfaces:
Serializable
,Comparable<DataDispersion>
public enum DataDispersion extends Enum<DataDispersion>
Represents an assumption on the dispersion of data.- Since:
- 1.1
- See Also:
- Homoscedasticity and heteroscedasticity (Wikipedia)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HETEROSCEDASTIC
Data does not have the same variance.HOMOSCEDASTIC
All data has the same finite variance (homogeneity of variance).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataDispersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataDispersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOMOSCEDASTIC
public static final DataDispersion HOMOSCEDASTIC
All data has the same finite variance (homogeneity of variance).
-
HETEROSCEDASTIC
public static final DataDispersion HETEROSCEDASTIC
Data does not have the same variance.
-
-
Method Detail
-
values
public static DataDispersion[] 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 (DataDispersion c : DataDispersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataDispersion 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
-
-