public abstract class AbstractStatistics extends Object implements 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, waitgetMax, getMin, getN, getPercentile, getSum, getVariancepublic double[] getConfidenceIntervalAt(double confidence)
getConfidenceIntervalAt in interface Statisticsconfidence - levelpublic boolean isDifferent(Statistics other, double confidence)
StatisticsisDifferent in interface Statisticsother - statistics to test againstconfidence - confidence level (e.g. 0.95)public double getMeanErrorAt(double confidence)
StatisticsgetMeanErrorAt in interface Statisticsconfidence - confidence level (e.g. 0.95)public double getMean()
getMean in interface org.apache.commons.math3.stat.descriptive.StatisticalSummarygetMean in interface Statisticspublic double getStandardDeviation()
getStandardDeviation in interface org.apache.commons.math3.stat.descriptive.StatisticalSummarygetStandardDeviation in interface Statisticspublic int compareTo(Statistics other, double confidence)
StatisticsComparable.compareTo in interface Statisticsother - statistics to compare againstconfidence - confidence level (e.g. 0.99)public int compareTo(Statistics other)
StatisticsComparable.compareTo in interface Comparable<Statistics>compareTo in interface Statisticsother - statistics to compare againstCopyright © 2012-2015 Oracle. All Rights Reserved.