public static enum Percentile.Type extends java.lang.Enum<Percentile.Type>
Enum Constant and Description |
---|
EXCLUSIVE
Excludes end points.
|
INCLUSIVE
Includes end points.
|
MEDIAN
Percentile of i-th point is (i-1/3)/(n+1/3) * 100%.
|
MID
Mid range, Percentile of i-th point is (i-0.5)/n * 100% so
highest and lowest points correspond to (1-0.5)/n-th and (n-.5)/n-th percentiles.
|
NEAREST
Nearest rank, smallest value such that least p% of the data
is less than or equal to that value.
|
Modifier and Type | Method and Description |
---|---|
static Percentile.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Percentile.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Percentile.Type NEAREST
public static final Percentile.Type INCLUSIVE
public static final Percentile.Type EXCLUSIVE
public static final Percentile.Type MID
public static final Percentile.Type MEDIAN
public static Percentile.Type[] values()
for (Percentile.Type c : Percentile.Type.values()) System.out.println(c);
public static Percentile.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018 Singular Systems http://www.singularsys.com/jep