Pearson's correlation coefficient ($$r$$) is used to describe the correlation between two variables with a linear relationship.
Pearson’s correlation coefficient ((r)) is used to describe the correlation between two variables with a linear relationship. (r) varies from -1 to +1, where:
-1 represents a strong, negative correlation
0 represents no linear relationship between variables
+1 represents a strong positive correlation
The image below shows how (r) varies depending on the relationship.
Calculating r
You can calculate r manually using the following commonly used formula: