Class SimpleStats


  • public class SimpleStats
    extends Object
    A simple statistics class that wraps DescriptiveStatistics.
    Author:
    Andrea Antonello (www.hydrologis.com)
    • Constructor Detail

      • SimpleStats

        public SimpleStats()
    • Method Detail

      • addValue

        public void addValue​(double v)
      • getMean

        public double getMean()
      • getSum

        public double getSum()
      • getMin

        public double getMin()
      • getMax

        public double getMax()
      • getStandardDeviation

        public double getStandardDeviation()
      • getVariance

        public double getVariance()
      • getPercentile

        public double getPercentile​(double p)
        Parameters:
        p - the percentile between 0 and 100.
        Returns:
        the precentile.
      • getCount

        public long getCount()