public abstract class AbstractStatisticsextends Objectimplements Statistics
Constructor and Description |
---|
AbstractStatistics() |
Modifier and Type | Method and Description |
---|---|
int | compareTo(Statistics other) Compares this statistics to another one. |
int | compareTo(Statistics other, double confidence) Compares this statistics to another one. |
double[] | getConfidenceIntervalAt(double confidence) Returns the interval c1, c2 of which there's an 1-alpha probability of the mean being within the interval. |
double | getMean() |
double | getMeanErrorAt(double confidence) Gets the mean error at given confidence level. |
double | getStandardDeviation() |
boolean | isDifferent(Statistics other, double confidence) Checks if this statistics statistically different from the given one with the given confidence level. |
String | toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMax, getMin, getN, getPercentile, getSum, getVariance
public double[] getConfidenceIntervalAt(double confidence)
getConfidenceIntervalAt
in interface Statistics
confidence
- levelpublic boolean isDifferent(Statistics other, double confidence)
Statistics
isDifferent
in interface Statistics
other
- statistics to test againstconfidence
- confidence level (e.g. 0.95)public double getMeanErrorAt(double confidence)
Statistics
getMeanErrorAt
in interface Statistics
confidence
- confidence level (e.g. 0.95)public double getMean()
getMean
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
getMean
in interface Statistics
public double getStandardDeviation()
getStandardDeviation
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
getStandardDeviation
in interface Statistics
public int compareTo(Statistics other, double confidence)
Statistics
Comparable
.compareTo
in interface Statistics
other
- statistics to compare againstconfidence
- confidence level (e.g. 0.99)public int compareTo(Statistics other)
Statistics
Comparable
.compareTo
in interface Comparable<Statistics>
compareTo
in interface Statistics
other
- statistics to compare againstCopyright © 2012-2015 Oracle. All Rights Reserved.