The Correlation Coefficient
Simple Explanation
The correlation coefficient, r, is a single number between β1 and 1 that precisely measures both the direction and strength of a linear relationship. r close to +1: strong positive correlation. r close to β1: strong negative correlation. r close to 0: little or no linear relationship.
Why Do We Need It?
A scatter diagram alone is subjective β the correlation coefficient gives an exact, comparable number, letting you say precisely HOW strong a relationship is, not just its rough direction.
Formula
Pearson's Correlation Coefficient
r = Ξ£(x β xΜ)(y β Θ³) / β[Ξ£(x β xΜ)Β² Β· Ξ£(y β Θ³)Β²]
A single number, always between β1 and 1, that measures both the strength and direction of the linear relationship between two variables.
- r
- β the correlation coefficient
- x, y
- β the paired data values for each variable
- xΜ, Θ³
- β the means of the x-values and y-values respectively
When to use it: Whenever you need a precise numerical measure of how strongly two variables are linearly related, beyond just a visual scatter diagram impression.
Worked Example
Interpret a correlation coefficient
A study finds r = β0.85 between hours of TV watched and exam scores. Interpret this value.
Why Does This Work?
The formula's numerator, Ξ£(xβxΜ)(yβΘ³), is positive when x and y tend to be above/below their means together (both high or both low at the same time β positive relationship) and negative when they move oppositely β the denominator simply rescales this to always land between β1 and 1, regardless of the original units or the size of the dataset.
Real-Life Example
Quantifying the strength of a marketing effect
A company wants to know precisely how strongly advertising spending predicts sales, not just whether a rough trend exists.
Computing r gives an exact, comparable strength value, letting the company compare this relationship's strength against other business factors on the same β1 to 1 scale.
Practice
Which value of r represents the STRONGEST correlation?
HardCommon mistake
Assuming a negative r means a "weak" or "bad" correlation β the SIGN of r shows direction only; the STRENGTH is shown by its magnitude, |r|, regardless of sign.
Quick Review
- r ranges from β1 to +1.
- Sign shows direction (positive/negative); magnitude |r| shows strength.
- |r| close to 1: strong relationship. |r| close to 0: weak or no linear relationship.