org.openjdk.jmh.util

Class AbstractStatistics

    • Constructor Detail

      • AbstractStatistics

        public AbstractStatistics()
    • Method Detail

      • getConfidenceIntervalAt

        public double[] getConfidenceIntervalAt(double confidence)
        Returns the interval c1, c2 of which there's an 1-alpha probability of the mean being within the interval.
        Specified by:
        getConfidenceIntervalAt in interface Statistics
        Parameters:
        confidence - level
        Returns:
        the confidence interval
      • isDifferent

        public boolean isDifferent(Statistics other,                  double confidence)
        Description copied from interface: Statistics
        Checks if this statistics statistically different from the given one with the given confidence level.
        Specified by:
        isDifferent in interface Statistics
        Parameters:
        other - statistics to test against
        confidence - confidence level (e.g. 0.95)
        Returns:
        true, if mean difference is statistically significant
      • getMeanErrorAt

        public double getMeanErrorAt(double confidence)
        Description copied from interface: Statistics
        Gets the mean error at given confidence level.
        Specified by:
        getMeanErrorAt in interface Statistics
        Parameters:
        confidence - confidence level (e.g. 0.95)
        Returns:
        the mean error with the given confidence level
      • getMean

        public double getMean()
        Specified by:
        getMean in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
        Specified by:
        getMean in interface Statistics
      • getStandardDeviation

        public double getStandardDeviation()
        Specified by:
        getStandardDeviation in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
        Specified by:
        getStandardDeviation in interface Statistics
      • compareTo

        public int compareTo(Statistics other,            double confidence)
        Description copied from interface: Statistics
        Compares this statistics to another one. Follows the contract of Comparable.
        Specified by:
        compareTo in interface Statistics
        Parameters:
        other - statistics to compare against
        confidence - confidence level (e.g. 0.99)
        Returns:
        a negative integer, zero, or a positive integer as this statistics is less than, equal to, or greater than the specified statistics.
      • compareTo

        public int compareTo(Statistics other)
        Description copied from interface: Statistics
        Compares this statistics to another one. Follows the contract of Comparable.
        Specified by:
        compareTo in interface Comparable<Statistics>
        Specified by:
        compareTo in interface Statistics
        Parameters:
        other - statistics to compare against
        Returns:
        a negative integer, zero, or a positive integer as this statistics is less than, equal to, or greater than the specified statistics.

Copyright © 2012-2015 Oracle. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14