20
20
* Reporting interface for basic univariate statistics.
22
* @version $Revision: 670469 $ $Date: 2008-06-23 04:01:38 -0400 (Mon, 23 Jun 2008) $
22
* @version $Revision: 811786 $ $Date: 2009-09-06 05:36:08 -0400 (Sun, 06 Sep 2009) $
24
24
public interface StatisticalSummary {
26
27
* Returns the <a href="http://www.xycoon.com/arithmetic_mean.htm">
27
* arithmetic mean </a> of the available values
28
* arithmetic mean </a> of the available values
28
29
* @return The mean or Double.NaN if no values have been added.
30
public abstract double getMean();
32
33
* Returns the variance of the available values.
33
* @return The variance, Double.NaN if no values have been added
34
* or 0.0 for a single value set.
34
* @return The variance, Double.NaN if no values have been added
35
* or 0.0 for a single value set.
36
public abstract double getVariance();
38
39
* Returns the standard deviation of the available values.
39
* @return The standard deviation, Double.NaN if no values have been added
40
* or 0.0 for a single value set.
40
* @return The standard deviation, Double.NaN if no values have been added
41
* or 0.0 for a single value set.
42
public abstract double getStandardDeviation();
43
double getStandardDeviation();
44
45
* Returns the maximum of the available values
45
46
* @return The max or Double.NaN if no values have been added.
47
public abstract double getMax();
49
50
* Returns the minimum of the available values
50
51
* @return The min or Double.NaN if no values have been added.
52
public abstract double getMin();
54
55
* Returns the number of available values
55
56
* @return The number of available values
57
public abstract long getN();
59
60
* Returns the sum of the values that have been added to Univariate.
60
61
* @return The sum or Double.NaN if no values have been added
62
public abstract double getSum();
b'\\ No newline at end of file'