See: Description
| Interface | Description | 
|---|---|
| AggregatableStatistic<T> | An interface for statistics that can aggregate results. | 
| StatisticalMultivariateSummary | Reporting interface for basic multivariate statistics. | 
| StatisticalSummary | Reporting interface for basic univariate statistics. | 
| StorelessMultivariateStatistic | Base interface implemented by storeless multivariate statistics. | 
| StorelessUnivariateStatistic | Extends the definition of  UnivariateStatisticwithStorelessUnivariateStatistic.increment(double)andStorelessUnivariateStatistic.incrementAll(double[])methods for adding
 values and updating internal state. | 
| UnivariateStatistic | Base interface implemented by all statistics. | 
| WeightedEvaluation | Weighted evaluation for statistics. | 
| Class | Description | 
|---|---|
| AbstractStorelessUnivariateStatistic | Abstract base class for implementations of the
  StorelessUnivariateStatisticinterface. | 
| AbstractUnivariateStatistic | Abstract base class for implementations of the
  UnivariateStatisticinterface. | 
| DescriptiveStatistics | Maintains a dataset of values of a single variable and computes descriptive
 statistics based on stored data. | 
| MultivariateSummaryStatistics | Computes summary statistics for a stream of n-tuples added using the
  addValuemethod. | 
| StatisticalSummaryValues | Value object representing the results of a univariate
 statistical summary. | 
| StreamingStatistics | Computes summary statistics for a stream of data values added using the
  addValuemethod. | 
| StreamingStatistics.StreamingStatisticsBuilder | Builder for StreamingStatistics instances. | 
   /∗ evaluation approach ∗/
   double[] values = new double[] { 1, 2, 3, 4, 5 };
   UnivariateStatistic stat = new Mean();
   out.println("mean = " + stat.evaluate(values));
 
 
   /∗ incremental approach ∗/
   double[] values = new double[] { 1, 2, 3, 4, 5 };
   StorelessUnivariateStatistic stat = new Mean();
   out.println("mean before adding a value is NaN = " + stat.getResult());
   for (int i = 0; i < values.length; i++) {
         stat.increment(values[i]);
         out.println("current mean = " + stat2.getResult());
   }
    stat.clear();
   out.println("mean after clear is NaN = " + stat.getResult());
 Copyright © 2016–2020 Hipparchus.org. All rights reserved.