class %ZEN.Report.Aggregate.Var
extends %ZEN.Report.CustomAggregate
Variance (sub-population) Aggregate
property Count
as %Integer [ InitialExpression = 0 ];
Keeps a running count of values processed
property data
as array of %Integer;
Array of processed values
method GetResult()
as %String
Returns the variance of the values processed
Note we divide by n-1 since this is unbiased variance
method ProcessValue(pValue As %Double)
as %Status
Processes each new value