The Pearson correlation coefficient

You have probably already heard about the Pearson coefficient, since it is the most popular measure of correlation, and the most widely applied.

This is probably related to its ease of calculation and interpretation. We compute the Pearson correlation coefficient, as follows:

We find, on the numerator, an index named covariance, between X and Y, which we will cover in a second. On the denominator, we see the product of standard deviations of X and Y. The covariance is in some way a raw Pearson correlation value, meaning that within the formula it is the member intended to express the linear relationship ...

Get R Data Mining now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.