This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

%ZEN.Report.Aggregate.LinearRegression

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 (Including Private)

Method Inventory (Including Private)

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(), SumOfXSquaredDisplayToLogical(), SumOfXSquaredGet(), SumOfXSquaredIsValid(), SumOfXSquaredLogicalToDisplay(), SumOfXSquaredLogicalToXSD(), SumOfXSquaredNormalize(), SumOfXSquaredOdbcToLogical(), SumOfXSquaredSet(), SumOfXSquaredXSDToLogical(), SumOfXXSDToLogical(), SumOfXYDisplayToLogical(), SumOfXYGet(), SumOfXYIsValid(), SumOfXYLogicalToDisplay(), SumOfXYLogicalToXSD(), SumOfXYNormalize(), SumOfXYOdbcToLogical(), SumOfXYSet(), SumOfXYXSDToLogical()
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 (Including Private)

Inherited Methods (Including Private)

Subclasses

Feedback