From 5a63bc980ab13bd9abb29a53766b14c0ece36ecc Mon Sep 17 00:00:00 2001 From: asfernandes Date: Sat, 28 Mar 2015 00:40:16 +0000 Subject: [PATCH] Corrections, thanks to Simonov Denis. --- doc/sql.extensions/README.regr_functions.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sql.extensions/README.regr_functions.txt b/doc/sql.extensions/README.regr_functions.txt index 47857394cf..f59aaf3ba9 100644 --- a/doc/sql.extensions/README.regr_functions.txt +++ b/doc/sql.extensions/README.regr_functions.txt @@ -22,9 +22,9 @@ Formula: REGR_AVGX(Y, X) = SUM(X) / N REGR_AVGY(Y, X) = SUM(Y) / N REGR_COUNT(Y, X) = N - REGR_INTERCEPT(Y, X) = REGR_AVGY(Y, X) - REGR_SLOPE(Y, X) * REGR_AVG_X(Y, X) + REGR_INTERCEPT(Y, X) = REGR_AVGY(Y, X) - REGR_SLOPE(Y, X) * REGR_AVGX(Y, X) REGR_R2(Y, X) = POWER(CORR(Y, X),2) - REGR_SLOPE(Y, X) = COVAR_POP(Y, X) + REGR_SLOPE(Y, X) = COVAR_POP(Y, X) / VAR_POP(X) REGR_SXX(Y, X) = N * VAR_POP(X) REGR_SXY(Y, X) = N * COVAR_POP(Y, X) REGR_SYY(Y, X) = N * VAR_POP(Y)