|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.util.MathUtil.Accumulator
public static class MathUtil.Accumulator
Accumulate a list of numbers, then report on mean, standard deviation, and other common statistics.
Constructor Summary | |
---|---|
MathUtil.Accumulator()
|
Method Summary | |
---|---|
void |
add(double d)
Add a new number to the accumulator. |
double |
binomialStdErr()
The standard error of binomially distributed values. |
double |
mean()
The mean of accumulated values. |
double |
numberOfValues()
The number of accumulated values. |
double |
populationStdDev()
The population standard devation of the accumulated values. |
double |
stdDev()
The sample standard devation of the accumulated values. |
double |
stdErr()
The sample standard error of the accumulated values. |
double |
variance()
The variance of the accumulated values. |
double |
z(double expected)
The Z statistic. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MathUtil.Accumulator()
Method Detail |
---|
public void add(double d)
public double mean()
public double numberOfValues()
public double variance()
public double populationStdDev()
public double stdDev()
public double stdErr()
public double binomialStdErr()
public double z(double expected)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |