public class Statistics
extends java.lang.Object
| Constructor and Description | 
|---|
Statistics()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.Double | 
calculateIQR(java.util.Vector vector)
Calculates the interquartile range (IQR) of a vector of Doubles 
 | 
static java.lang.Double | 
calculateMedian(java.util.Vector vector,
               int first,
               int last)
Calculates the median of a vector considering the positions indicated by
 the parameters first and last 
 | 
public static java.lang.Double calculateMedian(java.util.Vector vector,
                                               int first,
                                               int last)
vector - vectorfirst - index of first position to consider in the vectorlast - index of last position to consider in the vectorpublic static java.lang.Double calculateIQR(java.util.Vector vector)
vector -