Package org.forester.util
Interface DescriptiveStatistics
- All Known Implementing Classes:
BasicDescriptiveStatistics
public interface DescriptiveStatistics
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addValue
(double d) double
double
Computes the coefficient of variation.getData()
double[]
double
getMax()
double
getMin()
int
getN()
double
getSum()
double
getValue
(int index) double
median()
double
midrange()
double
Determines relationship between the mean and the median.double
double
sampleStandardUnit
(double value) double
void
setDescription
(String desc) double
double
toString()
-
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()
-