public class LongStatistics extends StatOnLongs
DEFAULT_FACTOR, DEFAULT_PERCENT_MIN, logger, MIN_SIZE_OF_STATISTICAL_DATA
Constructor and Description |
---|
LongStatistics()
longStat empty constructor
|
LongStatistics(int initialCapacity)
Constructs a LongStatistics with an empty list of long contructed with
the specified initial capacity.
|
LongStatistics(ListOfLong lol)
longStat constructor based on existing ListOfLong.
|
Modifier and Type | Method and Description |
---|---|
void |
outputFirstTenthReckoning(java.lang.String label,
boolean verbose)
prints the first tenth reckoning on the standard output stream.
|
void |
outputRawDataFrequency(int number)
prints the list which contains the data distribution in 'number' buckets.
|
void |
outputRawDataQuantiles(int number)
prints list which contains the raw data distribution in 'number'
quantiles (buckets that contain the same number of values).
|
void |
outputResultsOfRawDataSlicing(int number)
Prints the medians of 'number' slices of raw data (increased-value sort).
|
void |
outputStatisticalSortDataFrequency(int number)
prints the list which contains the data distribution in 'number' buckets.
|
void |
outputStatisticalSortDataQuantiles(int number)
prints the list which contains the data distribution in 'number'
quantiles (buckets that contain the same number of values).
|
void |
outputStatisticalSummary(java.lang.String label,
boolean verbose)
print the statistical summary of data on the standard output stream.
|
void |
outputStatistics(java.lang.String label,
boolean verbose)
print the data analyze by enhanced statistics, including median result,
on the standard output stream.
|
java.util.List<Bucket> |
rawDataFrequency(int number)
determines the distribution of raw data, as the number of values in
'number' buckets.
|
java.util.List<Quantile> |
rawDataQuantiles(int number) |
java.util.List<Bucket> |
statisticalSortDataFrequency(int number)
determines the distribution of data after statistical rejection, as the
number of values in 'number' buckets ; the data is used within the
statistical range (rejection based on mean +/- factor x std).
|
java.util.List<Quantile> |
statisticalSortDataQuantiles(int number)
determines the list of 'number' buckets (= quantile because contains the
same number of values) that divide data after statistical rejection.
|
addAll, addAll, addLong, getData, getLongAt, getMax, getMaxStatSortIndex, getMaxStatSortValue, getMean, getMedian, getMedian, getMin, getMinStatSortIndex, getMinStatSortValue, getNumberOfValues, getSortedData, getSortedValue, getStatisticalSortFactor, getStatisticalSortPercentage, getStatSortDataNumber, getStatSortMean, getStatSortMedian, getStatSortStd, getStd, keptRate, outputData, outputData, outputSortedData, outputSortedData, removeLongAt, reset, setLogger, setStatisticalSortFactor, setStatisticalSortPercentage, size, subMax, subMean, subMean, subMedian, subMin
public LongStatistics()
public LongStatistics(int initialCapacity)
initialCapacity
- public LongStatistics(ListOfLong lol)
lol
- the ListOfLong as initial value.public void outputStatisticalSummary(java.lang.String label, boolean verbose)
label
- of the statisticverbose
- modepublic void outputStatistics(java.lang.String label, boolean verbose)
label
- of the statisticverbose
- modepublic void outputFirstTenthReckoning(java.lang.String label, boolean verbose)
label
- of the statisticverbose
- modepublic java.util.List<Bucket> rawDataFrequency(int number)
number
- the number of groups in which data is distributed.Bucket
public void outputRawDataFrequency(int number)
number
- the number of groups in which data is distributed.public java.util.List<Bucket> statisticalSortDataFrequency(int number)
number
- the number of groups in which data is distributed.Bucket
public void outputStatisticalSortDataFrequency(int number)
number
- the number of groups in which data is distributed.public java.util.List<Quantile> rawDataQuantiles(int number)
public void outputRawDataQuantiles(int number)
number
- the number of groups in which raw data is distributed.public java.util.List<Quantile> statisticalSortDataQuantiles(int number)
number
- the number of groups in which data is distributed.Quantile
public void outputStatisticalSortDataQuantiles(int number)
number
- the number of groups in which data is distributed.public void outputResultsOfRawDataSlicing(int number)
number
- the number of groups in which data is sliced up.