Interface Statistic

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addData​(double... data)
      Recompute the statistic with more data, incrementally if possible.
      long N()
      Get the size of the sample.
      double value()
      Get the value of the statistic.
    • Method Detail

      • addData

        void addData​(double... data)
        Recompute the statistic with more data, incrementally if possible.
        Parameters:
        data - an array of new items
      • value

        double value()
        Get the value of the statistic.
        Returns:
        the statistic
      • N

        long N()
        Get the size of the sample.
        Returns:
        the sample size