I installed the Commons math library and used the example code shown below:
// Get a DescriptiveStatistics instance using factory method
DescriptiveStatistics stats = DescriptiveStatistics.newInstance();

// Add the data from the array
for( int i = 0; i < inputArray.length; i++) {
       stats.addValue(inputArray[i]);
}

// Compute some statistics
double mean = stats.getMean();
double std = stats.getStandardDeviation();
double median = stats.getMedian();


I get an error saying that the getMedian function is not found.  I saw that
the SummaryStatistics does not have the median.  Any insight on what I'm
missing?
Thanks

Reply via email to