Returns the sum of squares of the
yExpr values of a group where
yExpr are NOT NULL.
Requires: SQL warehouse version 2022.25 or higher. This version is available in the Preview channel.
yExpr: An numeric expression, the dependent variable.
xExpr: An numeric expression, the independent variable.
cond: An optional boolean expression filtering the rows used for the function.
The result type is DOUBLE.
Any nulls within the group are ignored. If a group is empty or consists only of nulls, the result is NULL.
DISTINCT is specified, the result is computed after duplicates are removed.
regr_syy(y, x) is a synonym for
regr_count(y, x) * var_pop(y).