JSci.maths.statistics
Class SampleStatistics

java.lang.Object
  extended by JSci.maths.statistics.SampleStatistics

public class SampleStatistics
extends java.lang.Object

This class calculates commonly used sample statistics in an incremental fashion.


Constructor Summary
SampleStatistics()
           
 
Method Summary
 int getCount()
           
 double getMaximum()
           
 double getMean()
           
 double getMinimum()
           
 double getVariance()
           
 void update(double x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleStatistics

public SampleStatistics()
Method Detail

update

public void update(double x)

getCount

public int getCount()

getMean

public double getMean()

getVariance

public double getVariance()

getMinimum

public double getMinimum()

getMaximum

public double getMaximum()