Package org.epics.util.stats
Class StatisticsUtil
- java.lang.Object
-
- org.epics.util.stats.StatisticsUtil
-
public class StatisticsUtil extends Object
Utility class to calculate statistical information.- Author:
- carcassi
-
-
Constructor Summary
Constructors Constructor Description StatisticsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatisticslazyStatisticsOf(CollectionNumber data)Creates the statistics, excluding NaN values, but the values are actually calculated when requested.static StatisticsstatisticsOf(List<Statistics> data)Aggregates statistical information.static StatisticsstatisticsOf(CollectionNumber data)Calculates data statistics, excluding NaN values.
-
-
-
Method Detail
-
statisticsOf
public static Statistics statisticsOf(CollectionNumber data)
Calculates data statistics, excluding NaN values.- Parameters:
data- the data- Returns:
- the calculated statistics
-
statisticsOf
public static Statistics statisticsOf(List<Statistics> data)
Aggregates statistical information.- Parameters:
data- a list of statistical information- Returns:
- the aggregate of all
-
lazyStatisticsOf
public static Statistics lazyStatisticsOf(CollectionNumber data)
Creates the statistics, excluding NaN values, but the values are actually calculated when requested.- Parameters:
data- the data- Returns:
- the calculated statistics
-
-