deprecatedclass %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
property postprocessResult
as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
property preprocessValue
as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
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