the simple linear regression function, TD_LINEAR_REGR, which takes a FORMULA, and a multivariate series, containing two payload fields, as inputs – the first field representing the response variable and the second representing the explanatory variable; and produces, a primary result set consisting of an ordered listed of solved coefficients. In addition to the primary result set produced by this function, this function is also capable of producing of several additional 'optional result sets' - one containing statistical modelling metadata and the other containing residual data sets.
- Type: DB SessionTeradata ConnectionConnection to a Teradata Database Instance
- Type: TableInputThis function takes one logical multivariate series containing a two or three field payload – the first payload field reference represents the response variable; the second payload field reference represents the explanatory variable, and the optional third field, if present, is the “weight” series