public class BoxPlotCalcUtil extends Object
| Constructor and Description |
|---|
BoxPlotCalcUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Double[] |
calcBoxPlotValues(List<Double> sortedDataAscendingOrder)
calculates the 5 values needed to create a box plot and returns them in an 5 item sized array.
|
static Double |
firstQuantile(List<Double> sortedDataAscendingOrder)
Get the firstQuantile value thru linear interpolations
|
static double |
iqr(double thirdQuantile,
double firstQuantile)
IQR inner quartile range
|
static Double |
maximum(List<Double> sortedDataAscendingOrder)
Get the maximum value thru linear interpolations
|
static Double |
median(List<Double> sortedDataAscendingOrder)
Get the median value thru linear interpolations
|
static Double |
minimum(List<Double> sortedDataAscendingOrder)
Get the minimum value thru linear interpolations
|
static Double |
thirdQuantile(List<Double> sortedDataAscendingOrder)
Get the thirdQuantile value thru linear interpolations
|
public static final Double[] calcBoxPlotValues(List<Double> sortedDataAscendingOrder)
sortedDataAscendingOrder - public static final double iqr(double thirdQuantile,
double firstQuantile)
thirdQuantile - firstQuantile - public static final Double minimum(List<Double> sortedDataAscendingOrder)
sortedDataAscendingOrder - public static final Double maximum(List<Double> sortedDataAscendingOrder)
sortedDataAscendingOrder - public static final Double median(List<Double> sortedDataAscendingOrder)
sortedDataAscendingOrder - public static final Double firstQuantile(List<Double> sortedDataAscendingOrder)
sortedDataAscendingOrder - Copyright © 2015. All Rights Reserved.