Package org.forester.util
Interface DescriptiveStatistics
- All Known Implementing Classes:
BasicDescriptiveStatistics
public interface DescriptiveStatistics
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(double d) doubledoubleComputes the coefficient of variation.getData()double[]doublegetMax()doublegetMin()intgetN()doublegetSum()doublegetValue(int index) doublemedian()doublemidrange()doubleDetermines relationship between the mean and the median.doubledoublesampleStandardUnit(double value) doublevoidsetDescription(String desc) doubledoubletoString()
-
Field Details
-
PLUS_MINUS
- See Also:
-
-
Method Details
-
addValue
void addValue(double d) -
arithmeticMean
double arithmeticMean() -
asSummary
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
-
getMax
double getMax() -
getMin
double getMin() -
getN
int getN() -
getSum
double getSum() -
getSummaryAsString
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
String toString() -
setDescription
-
getDescription
String getDescription()
-