Name

REGR_SXY — Auxiliary function used to compute various diagnostic statistics.

Synopsis

numeric REGR_SXY ( in expr1 any ,
in expr2 any );

Description

REGR_SXY makes the following computation after eliminating NULL (expr1, expr2) pairs:

REGR_COUNT(expr1, expr2) * COVAR_POP(expr1, expr2)

Parameters

expr1

Number expression.

expr2

Number expression.

Return Types

The function returns a value of type NUMERIC. If the function is applied to an empty set, then it returns null.