pub fn pearson(x: &[f64], y: &[f64]) -> Result<Correlation, ErrorsJSL>
Pearson’s product-moment correlation, with the p-value from t = r √((n−2)/(1−r²)) on n − 2 degrees of freedom (exact for bivariate normal data).
t = r √((n−2)/(1−r²))
n − 2