Java org.apache.commons.math3.stat.descriptive DescriptiveStatistics fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.stat.descriptive DescriptiveStatistics fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.stat.descriptive DescriptiveStatistics.

The text is from its open source code.

Subclass

org.apache.commons.math3.stat.descriptive.DescriptiveStatistics has subclasses.
Click this link to see all its subclasses.

Constructor

DescriptiveStatistics()
Construct a DescriptiveStatistics instance with an infinite window
DescriptiveStatistics(int window)
Construct a DescriptiveStatistics instance with the specified window
DescriptiveStatistics(double[] initialDoubleArray)
Construct a DescriptiveStatistics instance with an infinite window and the initial data values in double[] initialDoubleArray.
DescriptiveStatistics(DescriptiveStatistics original)
Copy constructor.

Method

voidaddValue(double v)
Adds the value to the dataset.
doubleapply(UnivariateStatistic stat)
Apply the given statistic to the data associated with this set of statistics.
voidclear()
Resets all statistics and storage
doublegetElement(int index)
Returns the element at the specified index
doublegetGeometricMean()
Returns the geometric mean of the available values
doublegetKurtosis()
Returns the Kurtosis of the available values.
doublegetMax()
Returns the maximum of the available values
doublegetMean()
Returns the arithmetic mean of the available values
doublegetMin()
Returns the minimum of the available values
longgetN()
Returns the number of available values
doublegetPercentile(double p)
Returns an estimate for the pth percentile of the stored values.
doublegetPopulationVariance()
Returns the population variance of the available values.
doublegetSkewness()
Returns the skewness of the available values.
double[]getSortedValues()
Returns the current set of values in an array of double primitives, sorted in ascending order.
doublegetStandardDeviation()
Returns the standard deviation of the available values.
doublegetSum()
Returns the sum of the values that have been added to Univariate.
doublegetSumsq()
Returns the sum of the squares of the available values.
double[]getValues()
Returns the current set of values in an array of double primitives.
doublegetVariance()
Returns the (sample) variance of the available values.
intgetWindowSize()
Returns the maximum number of values that can be stored in the dataset, or INFINITE_WINDOW (-1) if there is no limit.
voidsetWindowSize(int windowSize)
WindowSize controls the number of values that contribute to the reported statistics.
StringtoString()
Generates a text report displaying univariate statistics from values that have been added.