class %ZEN.Report.Aggregate.Correlation
extends %ZEN.Report.CustomAggregate
property Count
as %Integer [ InitialExpression = 0 ];
Number of values processed
property SUMPRODXY
as %Double [ InitialExpression = 0 ];
property SUMX
as %Double [ InitialExpression = 0 ];
property SUMX2
as %Double [ InitialExpression = 0 ];
property SUMY
as %Double [ InitialExpression = 0 ];
property SUMY2
as %Double [ InitialExpression = 0 ];
method GetResult()
as %String
Returns the correlation coefficient. Returns "" if the denominator would be zero
method ProcessValue(pValue As %List)
as %Status
ProcessValue is called sequentially on each record returned by the
report query or queries.