MLINREG Function | Teradata Vantage - 17.00 - 17.05 - MLINREG - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
17.05
Published
June 2020
Language
English (United States)
Last Update
2021-01-30
dita:mapPath
tpt1555966086716.ditamap
dita:ditavalPath
lze1555437562152.ditaval

Returns a predicted value for an expression based on a least squares moving linear regression of the previous width -1 (based on sort_expression) column values.

All rows in the results table except the first two, which are always null, display the predicted value.

Type

Teradata-specific function.