Comparable<Statistics>
, Serializable
, org.apache.commons.math3.stat.descriptive.StatisticalSummary
AbstractStatistics
, ListStatistics
, MultisetStatistics
, SingletonStatistics
public interface Statistics extends Serializable, org.apache.commons.math3.stat.descriptive.StatisticalSummary, Comparable<Statistics>
Modifier and Type | Method | 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) |
Gets the confidence interval at given confidence level.
|
int[] |
getHistogram(double[] levels) |
Returns the histogram for this statistics.
|
double |
getMax() |
Returns the maximum for this statistics.
|
double |
getMean() |
Returns the arithmetic mean for this statistics.
|
double |
getMeanErrorAt(double confidence) |
Gets the mean error at given confidence level.
|
double |
getMin() |
Returns the minimum for this statistics.
|
long |
getN() |
Returns the number of samples in this statistics.
|
double |
getPercentile(double rank) |
Returns the percentile at given rank.
|
Iterator<Map.Entry<Double,Long>> |
getRawData() |
Returns the raw data for this statistics.
|
double |
getStandardDeviation() |
Returns the standard deviation for this statistics.
|
double |
getSum() |
Returns the sum of samples in this statistics.
|
double |
getVariance() |
Returns the variance for this statistics.
|
boolean |
isDifferent(Statistics other,
double confidence) |
Checks if this statistics statistically different from the given one
with the given confidence level.
|
double[] getConfidenceIntervalAt(double confidence)
confidence
- confidence level (e.g. 0.95)double getMeanErrorAt(double confidence)
confidence
- confidence level (e.g. 0.95)boolean isDifferent(Statistics other, double confidence)
other
- statistics to test againstconfidence
- confidence level (e.g. 0.95)int compareTo(Statistics other)
Comparable
.compareTo
in interface Comparable<Statistics>
other
- statistics to compare againstint compareTo(Statistics other, double confidence)
Comparable
.other
- statistics to compare againstconfidence
- confidence level (e.g. 0.99)double getMax()
getMax
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
double getMin()
getMin
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
double getMean()
getMean
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
long getN()
getN
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
double getSum()
getSum
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
double getStandardDeviation()
getStandardDeviation
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
double getVariance()
getVariance
in interface org.apache.commons.math3.stat.descriptive.StatisticalSummary
double getPercentile(double rank)
rank
- the rank, [0..100]int[] getHistogram(double[] levels)
levels
- levelsIterator<Map.Entry<Double,Long>> getRawData()
Copyright © 2012-2016 Oracle. All Rights Reserved.