This function calculates the following expression: Regr_Count(Y, X) * Var_Pop(Y, X). The value is calculated after discarding all pairs with NULL.
Syntax:
Regr_SXY(Y, X)
Parameters:
- Y. Type: Number.
- X. Type: Number.
Example:
X |
Y |
1 |
7 |
2 |
1 |
3 |
2 |
4 |
5 |
5 |
7 |
6 |
34 |
7 |
32 |
8 |
43 |
9 |
87 |
SELECT Regr_SXY(Y, X) FROM Table
Result:
535
Next page: Rank