org.forester.util
Interface DescriptiveStatistics

All Known Implementing Classes:
BasicDescriptiveStatistics

public interface DescriptiveStatistics


Field Summary
static java.lang.String PLUS_MINUS
           
 
Method Summary
 void addValue(double d)
           
 double arithmeticMean()
           
 java.lang.String asSummary()
           
 double coefficientOfVariation()
          Computes the coefficient of variation.
 java.util.List<java.lang.Double> getData()
           
 double[] getDataAsDoubleArray()
           
 java.lang.String getDescription()
           
 double getMax()
           
 double getMin()
           
 int getN()
           
 double getSum()
           
 java.lang.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()
           
 void setDescription(java.lang.String desc)
           
 double standardErrorOfMean()
           
 double sumDeviations()
           
 java.lang.String toString()
           
 

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:
toString in class java.lang.Object

setDescription

void setDescription(java.lang.String desc)

getDescription

java.lang.String getDescription()