REGR_R2 Function Syntax | Regression Function | Teradata Vantage - REGR_R2 Function Syntax - Analytics Database - Teradata Vantage

SQL Functions, Expressions, and Predicates

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-01-12
dita:mapPath
obm1628111499646.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
kby1472250656485
lifecycle
latest
Product Category
Teradata Vantageā„¢
REGR_R2 (dependent_variable_expression, independent_variable_expression)

Syntax Elements

dependent_variable_expression
The dependent variable for the regression. A dependent variable is something that is measured in response to a treatment.
The expression cannot contain any ordered analytical or aggregate functions.
independent_variable_expression
The independent variable for the regression. An independent variable is a treatment: something that is varied under your control to test the behavior of another variable.
The expression cannot contain any ordered analytical or aggregate functions.