Computes summary statistics for a stream of data values added using the {@link #addValue(double) addValue} method. The data values are not stored inmemory, so this class can be used to compute statistics for very large data streams.
The {@link StorelessUnivariateStatistic} instances used to maintain summarystate and compute statistics are configurable via setters. For example, the default implementation for the variance can be overridden by calling {@link #setVarianceImpl(StorelessUnivariateStatistic)}. Actual parameters to these methods must implement the {@link StorelessUnivariateStatistic}interface and configuration must be completed before addValue
is called. No configuration is necessary to use the default, commons-math provided implementations.
Note: This class is not thread-safe. Use {@link SynchronizedSummaryStatistics} if concurrent access from multiplethreads is required.
@version $Revision: 1042376 $ $Date: 2010-12-05 16:54:55 +0100 (dim. 05 déc. 2010) $Computes summary statistics for a stream of data values added using the {@link #addValue(double) addValue} method. The data values are not stored inmemory, so this class can be used to compute statistics for very large data streams.
The {@link StorelessUnivariateStatistic} instances used to maintain summarystate and compute statistics are configurable via setters. For example, the default implementation for the variance can be overridden by calling {@link #setVarianceImpl(StorelessUnivariateStatistic)}. Actual parameters to these methods must implement the {@link StorelessUnivariateStatistic}interface and configuration must be completed before addValue
is called. No configuration is necessary to use the default, commons-math provided implementations.
Note: This class is not thread-safe. Use {@link SynchronizedSummaryStatistics} if concurrent access from multiplethreads is required.
|
|