Class DDiscreteDistribution

Inherits from:
Object
Declared in:
DDiscreteDistribution.h

Class Hierarchy

    Object
      |
      +---DDiscreteDistribution

Class Description

The DDiscreteDistribution class implements a (discrete) distribution class. The distribution object is updated with new values. Its task is to determine the length, the average or mean, the variance, the standard deviation, the sum and the squared sum of all values in the distribution. For the scores the length and percentage of every score can be determined. The distribution object is not a collection: the values are not stored in the object; the state of the object is updated with the new value.

Last modified:
31-Oct-2007 (DDiscreteDistribution.h)

Instance Variables

private long _length
the number of values in the distribution
private double _sum
the sum of the values in the distribution
private double _sumSquared
the sum of the squared values in the distribution
private DList *_scores
the list with the scores

Method Index


generated 05-Nov-2007 by ObjcDoc 3.0.0