Package org.forester.util
Interface DescriptiveStatistics
-
- All Known Implementing Classes:
BasicDescriptiveStatistics
public interface DescriptiveStatistics
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPLUS_MINUS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddValue(double d)doublearithmeticMean()java.lang.StringasSummary()doublecoefficientOfVariation()Computes the coefficient of variation.java.util.List<java.lang.Double>getData()double[]getDataAsDoubleArray()java.lang.StringgetDescription()doublegetMax()doublegetMin()intgetN()doublegetSum()java.lang.StringgetSummaryAsString()doublegetValue(int index)doublemedian()doublemidrange()doublepearsonianSkewness()Determines relationship between the mean and the median.doublesampleStandardDeviation()doublesampleStandardUnit(double value)doublesampleVariance()voidsetDescription(java.lang.String desc)doublestandardErrorOfMean()doublesumDeviations()java.lang.StringtoString()
-
-
-
Field Detail
-
PLUS_MINUS
static final java.lang.String PLUS_MINUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
addValue
void addValue(double d)
-
arithmeticMean
double arithmeticMean()
-
asSummary
java.lang.String asSummary()
-
coefficientOfVariation
double coefficientOfVariation()
Computes the coefficient of variation. Used to express standard deviation independent of units of measure.- Returns:
-
getDataAsDoubleArray
double[] getDataAsDoubleArray()
-
getData
java.util.List<java.lang.Double> getData()
-
getMax
double getMax()
-
getMin
double getMin()
-
getN
int getN()
-
getSum
double getSum()
-
getSummaryAsString
java.lang.String getSummaryAsString()
-
getValue
double getValue(int index)
-
median
double median()
-
midrange
double midrange()
-
pearsonianSkewness
double pearsonianSkewness()
Determines relationship between the mean and the median. This reflects how the data differs from the normal bell shaped distribution.- Returns:
-
sampleStandardDeviation
double sampleStandardDeviation()
-
sampleStandardUnit
double sampleStandardUnit(double value)
-
sampleVariance
double sampleVariance()
-
standardErrorOfMean
double standardErrorOfMean()
-
sumDeviations
double sumDeviations()
-
toString
java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setDescription
void setDescription(java.lang.String desc)
-
getDescription
java.lang.String getDescription()
-
-