Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%ZEN] >  [Report] >  [Aggregate] >  [Var]
Private  Storage   

deprecatedclass %ZEN.Report.Aggregate.Var extends %ZEN.Report.CustomAggregate

Variance (sub-population) Aggregate

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 2


Summary

Properties
Count accumIf class data
escape excelFormula excelName excelNumberFormat
expression field fields filter
format ignoreNLS name postprocessResult
preprocessValue runtimeMode type uniqueId

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%PostProcessValue %PreProcessValue %RemoveFromSaveSet %SerializeObject
%SetModified %ValidateObject GetResult ProcessValue
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
fieldIsValid nameIsValid


Properties

• 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 ];

Methods

• 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


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.