public class NFPercentile
The NFPercentile class is used to generate percentile information. It contains static methods for specific percentile info, or can be instantiated in order to generate a series of information.
Type | Name | Description | Default | ||||
double | P25 | 25th Percentile value | |||||
double | P50 | 50th Percentile value (median) | |||||
double | P75 | 75th Percentile value | |||||
double | biggest | biggest data value (except if outliers are used, in which case biggest = the biggest value that is not an outlier. | |||||
double | interQuartileRange | Range between 75th & 2th percentiles | |||||
Vector | outliers | if used, outliers are computed as those data values < (P25 - interQuartileRange * 1.5) or values > (P75 + interQuartileRange * 1.5) | |||||
double | smallest | smallest data value (except if outliers are used, in which case smallest = the smallest value that is not an outlier. |
public NFPercentile (NFDataSet data)
public NFPercentile (NFDataSet data, boolean useOutliers)
public static double computePercentile (NFDataSet v, int percentile)
public String toString()