Top Description Methods
org.apache.commons.math3.stat.descriptive

public Interface StatisticalSummary

Known Direct Implementers
org.apache.commons.math3.stat.descriptive.StatisticalSummaryValues, org.apache.commons.math3.stat.descriptive.SummaryStatistics, org.apache.commons.math3.stat.descriptive.AggregateSummaryStatistics, org.apache.commons.math3.stat.descriptive.DescriptiveStatistics

Reporting interface for basic univariate statistics.

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

The max or Double.NaN if no values have been added.
getMax
()

Returns the maximum of the available values

public double

Returns:

The mean or Double.NaN if no values have been added.
getMean
()

Returns the arithmetic mean of the available values

public double

Returns:

The min or Double.NaN if no values have been added.
getMin
()

Returns the minimum of the available values

public long

Returns:

The number of available values
getN
()

Returns the number of available values

public double

Returns:

The standard deviation, Double.NaN if no values have been added or 0.0 for a single value set.
getStandardDeviation
()

Returns the standard deviation of the available values.

public double

Returns:

The sum or Double.NaN if no values have been added
getSum
()

Returns the sum of the values that have been added to Univariate.

public double

Returns:

The variance, Double.NaN if no values have been added or 0.0 for a single value set.
getVariance
()

Returns the variance of the available values.

Method Detail

getMaxback to summary
public double getMax()

Returns the maximum of the available values

Returns:double

The max or Double.NaN if no values have been added.

getMeanback to summary
public double getMean()

Returns the arithmetic mean of the available values

Returns:double

The mean or Double.NaN if no values have been added.

getMinback to summary
public double getMin()

Returns the minimum of the available values

Returns:double

The min or Double.NaN if no values have been added.

getNback to summary
public long getN()

Returns the number of available values

Returns:long

The number of available values

getStandardDeviationback to summary
public double getStandardDeviation()

Returns the standard deviation of the available values.

Returns:double

The standard deviation, Double.NaN if no values have been added or 0.0 for a single value set.

getSumback to summary
public double getSum()

Returns the sum of the values that have been added to Univariate.

Returns:double

The sum or Double.NaN if no values have been added

getVarianceback to summary
public double getVariance()

Returns the variance of the available values.

Returns:double

The variance, Double.NaN if no values have been added or 0.0 for a single value set.