Class PersistentStatistic<U extends Unit<U>,​T extends AbstractDoubleScalarRel<U,​T>>

    • Constructor Detail

      • PersistentStatistic

        public PersistentStatistic​(Persistent<U,​T,​?> persistent)
        Constructor.
        Parameters:
        persistent - Persistent<?,T,?>; the persistent statistic that gathers the data
    • Method Detail

      • getConfidenceInterval

        public ConfidenceInterval<T> getConfidenceInterval​(double alpha)
        Parameters:
        alpha - double; confidence level
        Returns:
        both-side confidence interval
      • getConfidenceInterval

        public ConfidenceInterval<T> getConfidenceInterval​(double alpha,
                                                           IntervalSide side)
        Parameters:
        alpha - double; confidence level
        side - IntervalSide; side of confidence interval
        Returns:
        confidence interval
      • getSum

        public T getSum()
        Returns:
        sum.
      • getMin

        public T getMin()
        Returns:
        min.
      • getMax

        public T getMax()
        Returns:
        max.
      • getMean

        public T getMean()
        Returns:
        mean.
      • getStDev

        public T getStDev()
        Returns:
        stDev.
      • getVariance

        public double getVariance()
        Returns:
        variance.
      • getN

        public long getN()
        Returns:
        n.