Calculates the Pearson correlation coefficient of two arrays.
The first array
The second array
const result = Chalkboard.stat.correlationCoefficient([1, 2, 3], [2, 4, 6]); // Returns 1 Copy
const result = Chalkboard.stat.correlationCoefficient([1, 2, 3], [2, 4, 6]); // Returns 1
Calculates the Pearson correlation coefficient of two arrays.