Class DScore

Inherits from:
Object
Declared in:
DScore.h

Class Hierarchy

    Object
      |
      +---DScore

Class Description

The DScore class implements a score in a (discrete) distribution. The score object is updated with new values and calculates the length, the average or mean, the variance, the standard deviation, the sum and the squared sum. A score object is not a collection: the update values are not stored in the object; the state of the object is updated with the new value.

Last modified:
06-May-2005 (DScore.h)

Instance Variables

private long _length
the number of values in the object
private double _min
the minimum value of the range
private double _max
the maximum value of the range
private double _sum
the sum of the values
private double _sumSquared
the sum of the squared values
private double _percentage
the percentage of this score in the distribution (0.0 .. 100.0)

Method Index


generated 25-Jul-2006 by ObjcDoc 3.0.0