regr_sxx
aggregate function
Returns the sum of squares of the xExpr
values of a group where xExpr
and yExpr
are NOT NULL.
Since: Databricks Runtime 11.0
Arguments
yExpr
: A numeric expression, the dependent variable.xExpr
: A numeric expression, the independent variable.cond
: An optional boolean expression filtering the rows used for the function.