public class SingletonStatistics extends AbstractStatistics
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private double |
value |
Constructor and Description |
---|
SingletonStatistics(double value) |
Modifier and Type | Method and Description |
---|---|
int[] |
getHistogram(double[] levels)
Returns the histogram for this statistics.
|
double |
getMax()
Returns the maximum for this statistics.
|
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.
|
double |
getSum()
Returns the sum of samples in this statistics.
|
double |
getVariance()
Returns the variance for this statistics.
|
compareTo, compareTo, getConfidenceIntervalAt, getMean, getMeanErrorAt, getStandardDeviation, isDifferent, toString
private static final long serialVersionUID
private final double value
public double getMax()
Statistics
public double getMin()
Statistics
public long getN()
Statistics
public double getSum()
Statistics
public double getPercentile(double rank)
Statistics
rank
- the rank, [0..100]public double getVariance()
Statistics
public int[] getHistogram(double[] levels)
Statistics
levels
- levels