Aggregate linear regression functions -------------------------------------
Key: CORE-4722 URL: http://tracker.firebirdsql.org/browse/CORE-4722 Project: Firebird Core Issue Type: New Feature Components: Engine Reporter: Adriano dos Santos Fernandes Linear regression functions: 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_R2(Y, X) = POWER(CORR(Y, X),2) REGR_SLOPE(Y, X) = COVAR_POP(Y, 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) Contributed by Hajime Nakagami. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel