Aggregate. Returns the sum of squares of independent expressions used in a linear regression model. Evaluates Use the statistical validity of a regression model.
regr_sxx ( dependent-expression , independent-expression )
dependent-expression | The variable that is affected by the independent variable. The expression accepts numeric datatypes, except timestamp, bigdatetime, and interval. |
independent-expression | The variable that influences the outcome. The expression accepts numeric datatypes, except timestamp, bigdatetime, and interval. |
regr_count( x, y ) * var_pop( x )