Pearson Correlation Coefficient
The Pearson correlation coefficient measures the strength and direction of a linear relationship between two variables. It lies between and ; values near indicate a strong linear relationship.
LaTeX
r=\frac{\sum(x_i-\bar x)(y_i-\bar y)}{\sqrt{\sum(x_i-\bar x)^2\,\sum(y_i-\bar y)^2}}Variables
- correlation coefficient
- means of the two variables
Example
Data and .
- .
- , , .
- .
Answer: .