uk.ac.liv.util
Interface Distribution

All Known Implementing Classes:
CummulativeDistribution

public interface Distribution

Version:
$Revision: 1.2 $
Author:
Steve Phelps

Method Summary
 double getMax()
          Get the maximum datum.
 double getMean()
          Get the mean of the data.
 double getMin()
          Get the minimum datum.
 int getN()
          Get the number of items in the series.
 java.lang.String getName()
           
 double getStdDev()
          Get the standard deviation from the mean.
 double getStdDev(double origin)
          Get the standard deviation of the data about origin.
 double getTotal()
          Get the total of the data
 double getTrimmedMean(double p)
           
 double getVarCoef(double origin)
          Get the coefficient of variable about origin.
 double getVariance()
          Get the variance about the mean.
 double getVariance(double origin)
          Get the variance of the data about origin.
 void log()
           
 void newData(double i)
          Add a new datum to the series.
 

Method Detail

newData

public void newData(double i)
Add a new datum to the series.


getN

public int getN()
Get the number of items in the series.


getMean

public double getMean()
Get the mean of the data.


getTrimmedMean

public double getTrimmedMean(double p)

getVariance

public double getVariance(double origin)
Get the variance of the data about origin.


getStdDev

public double getStdDev(double origin)
Get the standard deviation of the data about origin.


getVariance

public double getVariance()
Get the variance about the mean.


getStdDev

public double getStdDev()
Get the standard deviation from the mean.


getVarCoef

public double getVarCoef(double origin)
Get the coefficient of variable about origin.


getMin

public double getMin()
Get the minimum datum.


getMax

public double getMax()
Get the maximum datum.


getTotal

public double getTotal()
Get the total of the data


getName

public java.lang.String getName()

log

public void log()