I'm using the Apache Commons Math library to do some statistical analysis and it is working great so far. According to the documentation, I can accumulate the statistics produced by multiple SummaryStatistics
instances using the convenient AggregateSummaryStatistics
type.
However, the statistic I'm interested on is the Median, which I'm currently computing through the getPercentile()
method of the DescriptiveStatistics
type.
Do you know if there's an equivalent of the AggregateSummaryStatistics
for DescriptiveStatistics
instances? So far I had no luck browsing the library's Javadoc, and the alternative of having a separate DescriptiveStatistics
instance for accumulation doesn't seem elegant.