public interface StatisticalSummary
Modifier and Type | Method and Description |
---|---|
static StatisticalSummary |
aggregate(Iterable<? extends StatisticalSummary> statistics)
Computes aggregated statistical summaries.
|
static StatisticalSummary |
aggregate(StatisticalSummary... statistics)
Computes aggregated statistical summaries.
|
double |
getMax()
Returns the maximum of the available values
|
double |
getMean()
Returns the
arithmetic mean of the available values
|
double |
getMin()
Returns the minimum of the available values
|
long |
getN()
Returns the number of available values
|
double |
getStandardDeviation()
Returns the standard deviation of the available values.
|
double |
getSum()
Returns the sum of the values that have been added to Univariate.
|
double |
getVariance()
Returns the variance of the available values.
|
static StatisticalSummary aggregate(StatisticalSummary... statistics)
This method can be used to combine statistics computed over partitions or subsamples - i.e., the returned StatisticalSummary should contain the same values that would have been obtained by computing a single StatisticalSummary over the combined dataset.
statistics
- StatisticalSummary instances to aggregateNullArgumentException
- if the input is nullstatic StatisticalSummary aggregate(Iterable<? extends StatisticalSummary> statistics)
This method can be used to combine statistics computed over partitions or subsamples - i.e., the returned StatisticalSummary should contain the same values that would have been obtained by computing a single StatisticalSummary over the combined dataset.
statistics
- iterable of StatisticalSummary instances to aggregateNullArgumentException
- if the input is nulldouble getMean()
double getVariance()
double getStandardDeviation()
double getMax()
double getMin()
long getN()
double getSum()
Copyright © 2016–2019 Hipparchus.org. All rights reserved.