/**
* Test StorelessDescriptiveStatistics
*/
public void testUnivariateImpl() throws Exception {
SummaryStatistics u = SummaryStatistics.newInstance(SummaryStatisticsImpl.class);
loadStats("data/PiDigits.txt", u);
assertEquals("PiDigits: std", std, u.getStandardDeviation(), .0000000000001);
assertEquals("PiDigits: mean", mean, u.getMean(), .0000000000001);
loadStats("data/Mavro.txt", u);
assertEquals("Mavro: std", std, u.getStandardDeviation(), .00000000000001);
assertEquals("Mavro: mean", mean, u.getMean(), .00000000000001);
//loadStats("data/Michelso.txt");
//assertEquals("Michelso: std", std, u.getStandardDeviation(), .00000000000001);
//assertEquals("Michelso: mean", mean, u.getMean(), .00000000000001);
loadStats("data/NumAcc1.txt", u);
assertEquals("NumAcc1: std", std, u.getStandardDeviation(), .00000000000001);
assertEquals("NumAcc1: mean", mean, u.getMean(), .00000000000001);
//loadStats("data/NumAcc2.txt");
//assertEquals("NumAcc2: std", std, u.getStandardDeviation(), .000000001);
//assertEquals("NumAcc2: mean", mean, u.getMean(), .00000000000001);
}