public class Stats extends Object
Modifier and Type | Method | Description |
---|---|---|
Table |
asTable() |
Returns the most common calculated statistics in tabular form
|
Table |
asTableComplete() |
Returns all the calculated statistics in tabular form
|
static Stats |
create(NumericColumn<?> values) |
Constructs a Stats object from the given column
|
double |
geometricMean() |
Returns the geometric mean of the values
|
double |
max() |
Returns the largest value
|
double |
mean() |
Returns the mean of values in the data
|
double |
min() |
Returns the smallest value
|
long |
n() |
Returns the number of values in the data
|
double |
populationVariance() |
Returns the population variance of the values
|
double |
quadraticMean() |
Returns the quadratic mean of the values
|
double |
range() |
Returns the range of values in the data
|
double |
secondMoment() |
Returns the second moment of the values
|
double |
standardDeviation() |
Returns the standard deviation of values in the data
|
double |
sum() |
Returns the sum of the values
|
double |
sumOfLogs() |
Returns the sum of the logs of the values
|
double |
sumOfSquares() |
Returns the sum of squares of the values
|
double |
variance() |
Returns the sample variance of the values
|
public static Stats create(NumericColumn<?> values)
public double range()
public double standardDeviation()
public long n()
public double mean()
public double min()
public double max()
public double sum()
public double variance()
public double sumOfSquares()
public double populationVariance()
public double sumOfLogs()
public double geometricMean()
public double quadraticMean()
public double secondMoment()
public Table asTable()
public Table asTableComplete()
Copyright © 2022. All rights reserved.