public class Statistics
extends java.lang.Object
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
void |
add(double value)
Add value.
|
int |
getCount()
Get number of values added.
|
double |
getDeviation()
Get standard deviation.
|
double |
getError()
Get standard error.
|
double |
getMax()
Get maximum value.
|
double |
getMaxError(int n)
Get maximum error.
|
double |
getMean()
Get mean value.
|
double |
getMin()
Get minumum value.
|
double |
getSum()
Get sum of values.
|
double |
getVariance()
Get variance.
|
public void add(double value)
value
- The value to add.public int getCount()
public double getDeviation()
public double getError()
public double getMean()
public double getMax()
public double getMaxError(int n)
n
- The number of values that are assumed to be 100 per cent
correlated.public double getMin()
public double getSum()
public double getVariance()