Skip to main content

%ZEN.Report.Aggregate.LinearRegression

deprecated class %ZEN.Report.Aggregate.LinearRegression extends %ZEN.Report.CustomAggregate

Calculate linear regression information about X,Y data set return as %List Base class for MDX Linear Regression Functions

Property Inventory

Method Inventory

Properties

property Count as %Integer [ InitialExpression = 0 ];
Keeps a running count of values processed
Property methods: CountDisplayToLogical(), CountGet(), CountIsValid(), CountLogicalToDisplay(), CountNormalize(), CountSet(), CountXSDToLogical()
property SumOfX as %Double [ InitialExpression = 0 ];
Keeps a running total of the sum of the squares of the processed items
Property methods: SumOfXDisplayToLogical(), SumOfXGet(), SumOfXIsValid(), SumOfXLogicalToDisplay(), SumOfXLogicalToXSD(), SumOfXNormalize(), SumOfXOdbcToLogical(), SumOfXSet(), SumOfXXSDToLogical()
property SumOfXSquared as %Double [ InitialExpression = 0 ];
Property methods: SumOfXSquaredDisplayToLogical(), SumOfXSquaredGet(), SumOfXSquaredIsValid(), SumOfXSquaredLogicalToDisplay(), SumOfXSquaredLogicalToXSD(), SumOfXSquaredNormalize(), SumOfXSquaredOdbcToLogical(), SumOfXSquaredSet(), SumOfXSquaredXSDToLogical()
property SumOfXY as %Double [ InitialExpression = 0 ];
Property methods: SumOfXYDisplayToLogical(), SumOfXYGet(), SumOfXYIsValid(), SumOfXYLogicalToDisplay(), SumOfXYLogicalToXSD(), SumOfXYNormalize(), SumOfXYOdbcToLogical(), SumOfXYSet(), SumOfXYXSDToLogical()
property SumOfY as %Double [ InitialExpression = 0 ];
Property methods: SumOfYDisplayToLogical(), SumOfYGet(), SumOfYIsValid(), SumOfYLogicalToDisplay(), SumOfYLogicalToXSD(), SumOfYNormalize(), SumOfYOdbcToLogical(), SumOfYSet(), SumOfYXSDToLogical()

Methods

method GetResultList() as %String
Returns $LB(a,b) where y = a * x + b Returns null if denominator will be zero
method ProcessValue(pValue As %List) as %Status
Processes each new value (x,y) pair in %List

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab