Enum Quantile.QuantileType

    • 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
      • 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 name
        NullPointerException - if the argument is null