public interface Statistics extends Range
For the purpose of statistics calculation, NaNs should be skipped. That is, they should not appear as minimum, maximum, average or stdDev, and shouldn't even be included in the count. The number of elements (including NaNs) will be available from the number set itself.
The appropriate Statistics instance for an unknown set, or for a set of NaN values, is null.
| Modifier and Type | Method and Description |
|---|---|
double |
getAverage()
The average value.
|
int |
getCount()
The number of values (excluding NaN) included in the set.
|
double |
getStdDev()
The standard deviation.
|
getMaximum, getMinimumCopyright © 2012-2013 Brookhaven National Laboratory, University of Michigan. All Rights Reserved.