List of usage examples for org.apache.commons.math3.stat.descriptive SummaryStatistics setVarianceImpl
public void setVarianceImpl(StorelessUnivariateStatistic varianceImpl) throws MathIllegalStateException
Sets the implementation for the variance.
From source file:edu.uiowa.icts.bluebutton.json.view.StatsFinder.java
private SummaryStatistics findStats() { SummaryStatistics stats = new SummaryStatistics(); stats.setVarianceImpl(new Variance(false)); for (IGetStats d : this.list) { if (d.getDoubleValue() != null) { stats.addValue(d.getDoubleValue()); }/* w w w . j a va2 s . c o m*/ } return stats; }