public final class DescriptiveStats extends Object
Constructor and Description |
---|
DescriptiveStats() |
DescriptiveStats(List<Double> values) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getMax()
Calculates the max of the values.
|
double |
getMean()
Calculates the mean of the values.
|
double |
getMin()
Calculates the min of the values.
|
long |
getN()
Returns the number of values.
|
double |
getStandardDeviation()
Calculates the standard deviation of the values.
|
double |
getVariance()
Calculates the sample variance of the values.
|
int |
hashCode() |
String |
toString() |
List<Double> |
values()
Returns a copy of the values.
|
public double getMean()
public double getVariance()
public double getStandardDeviation()
public double getMax()
public double getMin()
public long getN()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.