org.forester.util
Interface DescriptiveStatistics

All Known Implementing Classes:
BasicDescriptiveStatistics

public interface DescriptiveStatistics


Field Summary
static String PLUS_MINUS
           
 
Method Summary
 void addValue(double d)
           
 double arithmeticMean()
           
 String asSummary()
           
 double coefficientOfVariation()
          Computes the coefficient of variation.
 double[] getDataAsDoubleArray()
           
 double getMax()
           
 double getMin()
           
 int getN()
           
 double getSum()
           
 String getSummaryAsString()
           
 double getValue(int index)
           
 double median()
           
 double midrange()
           
 double pearsonianSkewness()
          Determines relationship between the mean and the median.
 double sampleStandardDeviation()
           
 double sampleStandardUnit(double value)
           
 double sampleVariance()
           
 double standardErrorOfMean()
           
 double sumDeviations()
           
 String toString()
           
 

Field Detail

PLUS_MINUS

static final String PLUS_MINUS
See Also:
Constant Field Values
Method Detail

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()

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()
Overrides:
toString in class Object