Package dev.nm.stat.descriptive.rank
Enum Quantile.QuantileType
- java.lang.Object
-
- java.lang.Enum<Quantile.QuantileType>
-
- dev.nm.stat.descriptive.rank.Quantile.QuantileType
-
- All Implemented Interfaces:
Serializable
,Comparable<Quantile.QuantileType>
- Enclosing class:
- Quantile
public static enum Quantile.QuantileType extends Enum<Quantile.QuantileType>
the available quantile definitions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROXIMATELY_MEDIAN_UNBIASED
default: the resulting quantile estimates are approximately median-unbiased regardless of the distribution of the sampleAPPROXIMATELY_UNBIASED_IF_DATA_IS_NORMAL
the resulting quantile estimates are approximately unbiased for the expected order statistics if the sample is normally distributedINVERSE_OF_EMPIRICAL_CDF
the inverse of empirical distribution functionINVERSE_OF_EMPIRICAL_CDF_WITH_AVERAGING_AT_DISCONTINUITIES
the inverse of empirical distribution function with averaging at discontinuitiesLINEAR_INTERPOLATION_OF_EMPIRICAL_CDF
the linear interpolation of the empirical cdfMIDWAY_THROUGH_STEPS_OF_EMPIRICAL_CDF
a piecewise linear function where the knots are the values midway through the steps of the empirical cdfMINITAB_SPSS
the definition in Minitab and SPSSNEAREST_EVEN_ORDER_STATISTICS
the nearest even order statistic as in SASS
the definition in S
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Quantile.QuantileType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Quantile.QuantileType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVERSE_OF_EMPIRICAL_CDF
public static final Quantile.QuantileType INVERSE_OF_EMPIRICAL_CDF
the inverse of empirical distribution function
-
INVERSE_OF_EMPIRICAL_CDF_WITH_AVERAGING_AT_DISCONTINUITIES
public static final Quantile.QuantileType INVERSE_OF_EMPIRICAL_CDF_WITH_AVERAGING_AT_DISCONTINUITIES
the inverse of empirical distribution function with averaging at discontinuities
-
NEAREST_EVEN_ORDER_STATISTICS
public static final Quantile.QuantileType NEAREST_EVEN_ORDER_STATISTICS
the nearest even order statistic as in SAS
-
LINEAR_INTERPOLATION_OF_EMPIRICAL_CDF
public static final Quantile.QuantileType LINEAR_INTERPOLATION_OF_EMPIRICAL_CDF
the linear interpolation of the empirical cdf
-
MIDWAY_THROUGH_STEPS_OF_EMPIRICAL_CDF
public static final Quantile.QuantileType MIDWAY_THROUGH_STEPS_OF_EMPIRICAL_CDF
a piecewise linear function where the knots are the values midway through the steps of the empirical cdf
-
MINITAB_SPSS
public static final Quantile.QuantileType MINITAB_SPSS
the definition in Minitab and SPSS
-
S
public static final Quantile.QuantileType S
the definition in S
-
APPROXIMATELY_MEDIAN_UNBIASED
public static final Quantile.QuantileType APPROXIMATELY_MEDIAN_UNBIASED
default: the resulting quantile estimates are approximately median-unbiased regardless of the distribution of the sample
-
APPROXIMATELY_UNBIASED_IF_DATA_IS_NORMAL
public static final Quantile.QuantileType APPROXIMATELY_UNBIASED_IF_DATA_IS_NORMAL
the resulting quantile estimates are approximately unbiased for the expected order statistics if the sample is normally distributed
-
-
Method Detail
-
values
public static Quantile.QuantileType[] 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 (Quantile.QuantileType c : Quantile.QuantileType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Quantile.QuantileType 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
-
-