|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uci.ics.jung.statistics.StatisticalMoments
A data structure representing the central moments of a distribution including:
| Constructor Summary | |
StatisticalMoments()
Default constructor methods: declare space for 5 moments. |
|
StatisticalMoments(int n)
General constructor methods. |
|
| Method Summary | |
void |
accumulate(double x)
statistical moment accumulation up to order 4. |
double |
average()
|
long |
count()
Returns the number of accumulated counts. |
double |
errorOnAverage()
Returns the error on average. |
double |
kurtosis()
The kurtosis measures the sharpness of the distribution near the maximum. |
void |
reset()
Reset all counters. |
double |
skewness()
|
double |
standardDeviation()
Returns the standard deviation. |
double |
unnormalizedVariance()
|
double |
variance()
Note: the variance includes the Bessel correction factor. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StatisticalMoments()
public StatisticalMoments(int n)
n - number of moments to accumulate.| Method Detail |
public void accumulate(double x)
x - double value to accumulatepublic double average()
public long count()
public double errorOnAverage()
public double kurtosis()
throws java.lang.ArithmeticException
java.lang.ArithmeticExceptionpublic void reset()
public double skewness()
throws java.lang.ArithmeticException
java.lang.ArithmeticExceptionpublic double standardDeviation()
public double unnormalizedVariance()
public double variance()
throws java.lang.ArithmeticException
java.lang.ArithmeticException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||