jOOQ / jOOL

jOOλ - The Missing Parts in Java 8 jOOλ improves the JDK libraries in areas where the Expert Group's focus was elsewhere. It adds tuple support, function support, and a lot of additional functionality around sequential Streams. The JDK 8's main efforts (default methods, lambdas, and the Stream API) were focused around maintaining backwards compatibility and implementing a functional API for parallelism.
http://www.jooq.org/products
Apache License 2.0
2.09k stars 168 forks source link

Add Agg.correlationDouble() #390

Closed lukaseder closed 3 years ago

lukaseder commented 3 years ago

Building on COVAR_POP() (https://github.com/jOOQ/jOOL/issues/389), we can also support CORR() as:

CORR(X, Y) = COVAR_POP(X, Y) / (STDDEV_POP(X) * STDDEV_POP(Y))