corr
Introduced in: v1.1.0 Calculates the Pearson correlation coefficient:This function uses a numerically unstable algorithm. If you need numerical stability in calculations, use the
corrStable function. It is slower but provides a more accurate result.Float64
Examples
Basic correlation calculation
Query
Response