net.sourceforge.jabm.util
Interface Distribution

All Known Implementing Classes:
SummaryStats

public interface Distribution

 

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 getTotal()
          Get the total of the data
 double getVariance()
          Get the variance about the mean.
 void log()
          Output the moments of the distribution to the info log.
 void newData(double i)
          Add a new datum to the series.
 

Method Detail

newData

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


getN

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


getMean

double getMean()
Get the mean of the data.


getVariance

double getVariance()
Get the variance about the mean.


getStdDev

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


getMin

double getMin()
Get the minimum datum.


getMax

double getMax()
Get the maximum datum.


getTotal

double getTotal()
Get the total of the data


getName

java.lang.String getName()
Returns:
The name of the variable.

log

void log()
Output the moments of the distribution to the info log.