WeightedStatisticIfc

If the observation or the weight is

  • infinite or NaN, then the observation should not be recorded and the number of missing observations

  • is incremented. If the observed weight is negative or 0.0, then the observation should not be recorded and

  • the number of missing observations is incremented.

Author

rossetti

Inheritors

Properties

Link copied to clipboard
abstract val count: Double

Gets the count of the number of the observations.

Link copied to clipboard
abstract val csvStatistic: String
Link copied to clipboard

The header string for the CVS representation

Link copied to clipboard
abstract val id: Int
Link copied to clipboard
abstract var label: String?
Link copied to clipboard
abstract val lastValue: Double

Gets the last observed data point

Link copied to clipboard
abstract val lastWeight: Double

Gets the last observed weight

Link copied to clipboard
abstract val max: Double

Gets the maximum of the observations.

Link copied to clipboard
abstract val min: Double

Gets the minimum of the observations.

Link copied to clipboard
abstract val name: String
Link copied to clipboard
abstract val numberMissing: Double

When a data point having the value of (Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY) are presented it is excluded from the summary statistics and the number of missing points is noted. If the weight is infinite or less than or equal to zero, then the data point should not be recorded. This method reports the number of missing points that occurred during the collection.

Link copied to clipboard
abstract val sumOfWeights: Double

Gets the sum of the observed weights.

Link copied to clipboard
Link copied to clipboard
abstract val unWeightedSum: Double
Link copied to clipboard
abstract val weightedAverage: Double

Gets the weighted average of the collected observations.

Link copied to clipboard
abstract val weightedSum: Double

Gets the weighted sum of observations observed.

Link copied to clipboard

Gets the weighted sum of squares for observations observed.

Functions

Link copied to clipboard
abstract fun reset()

Clears all the statistical accumulators