Serializable
, Comparable<Statistics>
, org.apache.commons.math3.stat.descriptive.StatisticalSummary
, Statistics
public class MultisetStatistics extends AbstractStatistics
Constructor | Description |
---|---|
MultisetStatistics() |
Modifier and Type | Method | Description |
---|---|---|
void |
addValue(double d,
long count) |
|
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.
|
Iterator<Map.Entry<Double,Long>> |
getRawData() |
Returns the raw data for this statistics.
|
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
public void addValue(double d, long count)
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
- levelspublic Iterator<Map.Entry<Double,Long>> getRawData()
Statistics
Copyright © 2012-2016 Oracle. All Rights Reserved.