01 / 20

Correlation &
Interpretation

Understand how two variables relate, measure the strength and direction of their linear association, and learn what correlation can and cannot tell you.

College Statistics

What Is Correlation?

Correlation is a statistical measure that describes the strength and direction of the linear relationship between two quantitative variables. When one variable tends to increase as the other increases, we say they are positively correlated. When one decreases as the other increases, they are negatively correlated.

Scatterplots and Direction

Positive Correlation
As \( x \) increases, \( y \) tends to increase. Points slope upward from left to right. Example: study hours and exam scores.
Negative Correlation
As \( x \) increases, \( y \) tends to decrease. Points slope downward from left to right. Example: absences and GPA.
No Correlation
No discernible linear pattern. Points appear randomly scattered. \( r \approx 0 \). Example: shoe size and IQ.
Positive Negative None

Strength of Correlation

The absolute value of \( r \) tells you how tightly the points cluster around a straight line. A value near \( \pm 1 \) means a strong linear relationship, while a value near \( 0 \) means a weak one.

Strong
\( |r| \geq 0.8 \): points cluster tightly along a line.
Moderate
\( 0.5 \leq |r| < 0.8 \): clear trend, but noticeable scatter.
Weak
\( |r| < 0.5 \): only a faint linear tendency, lots of scatter.

The Pearson Correlation Coefficient

1
Standardize each value: convert every \( x_i \) and \( y_i \) into z-scores using their respective means and standard deviations.
2
Multiply the z-scores: for each observation, multiply its \( z_x \) by its \( z_y \). Positive products mean both are on the same side of their means.
3
Average the products: sum all the products and divide by \( n - 1 \). The result is \( r \).

Key Properties of \( r \)

1
Bounded: \( -1 \leq r \leq 1 \). It can never exceed these limits.
2
Unitless: because we standardize, \( r \) has no units. Changing from inches to centimeters does not change \( r \).
3
Symmetric: the correlation of \( x \) with \( y \) equals the correlation of \( y \) with \( x \).
4
Linear only: \( r \) measures only linear association. A perfect parabolic curve can have \( r = 0 \).
5
Sensitive to outliers: a single extreme point can dramatically raise or lower \( r \).

The Coefficient of Determination: \( r^2 \)

Squaring the correlation coefficient gives \( r^2 \), which tells us the proportion of variance in \( y \) that is explained by the linear relationship with \( x \).

If \( r = 0.80 \)
Then \( r^2 = 0.64 \), meaning 64% of the variation in \( y \) is explained by \( x \).
If \( r = -0.50 \)
Then \( r^2 = 0.25 \), meaning only 25% of the variation in \( y \) is explained by \( x \).

Correlation vs. Causation

Just because two variables are correlated does not mean one causes the other. This is the single most important principle in interpreting correlation.

Variable X Variable Y Lurking Z correlated A lurking variable Z may cause both X and Y, creating a spurious correlation between them.

Three Reasons Correlation ≠ Causation

Confounding
A hidden third variable influences both \( x \) and \( y \), making them appear related when the true driver is something else.
Reverse Causation
Maybe \( y \) causes \( x \), not the other way around. Correlation alone cannot determine the direction of influence.
Coincidence
With enough variables, some pairs will correlate by pure chance. Spurious correlations are everywhere in large datasets.

How to Compute \( r \)

1
Calculate the means: find \( \bar{x} \) and \( \bar{y} \).
2
Calculate the standard deviations: find \( s_x \) and \( s_y \).
3
Standardize: for each data point, compute \( z_{x_i} = \frac{x_i - \bar{x}}{s_x} \) and \( z_{y_i} = \frac{y_i - \bar{y}}{s_y} \).
4
Multiply z-scores: compute \( z_{x_i} \cdot z_{y_i} \) for each pair.
5
Average: \( r = \frac{1}{n-1}\sum z_{x_i} \cdot z_{y_i} \).

Example: Study Hours and Test Scores

Hours Studied Score 1 2 3 4 5 6 7 8 50 60 70 80 90 100 r = 0.99

Example: Screen Time and Sleep

Screen Time (hrs) Sleep (hrs) 1 2 3 4 5 6 7 8 4 5 6 7 8 9 r = -0.93

Example: When \( r \) Is Misleading

x y r ≈ 0.00 Perfect parabola!

Common Mistakes

✕ Assuming Causation
Concluding that \( x \) causes \( y \) just because \( r \) is large. Correlation measures association, not causation.
✕ Ignoring Nonlinearity
Reporting \( r \) without checking the scatterplot. A strong curved pattern can produce \( r \approx 0 \).
✕ Ignoring Outliers
A single extreme point can inflate or deflate \( r \) dramatically. Always examine the plot for unusual observations.
✕ Extrapolating Beyond Data
Using \( r \) from one range of \( x \) values to make predictions far outside that range. The linear pattern may not continue.
✕ Confusing \( r \) and \( r^2 \)
Saying "\( r = 0.7 \) means 70% of variance is explained." The correct figure is \( r^2 = 0.49 \), or 49%.

Correlation Summary

Value of \( r \) Interpretation
Strong Positive \( r \) close to +1 Tight upward trend
Moderate Positive \( 0.5 \leq r < 0.8 \) Clear upward trend with scatter
Weak/None \( r \) close to 0 No linear pattern
Moderate Negative \( -0.8 < r \leq -0.5 \) Clear downward trend with scatter
Strong Negative \( r \) close to -1 Tight downward trend

Question 1 of 5

A researcher finds \( r = -0.85 \) between hours of TV watched per day and exercise frequency per week. Which interpretation is most appropriate?

Question 2 of 5

If \( r = 0.60 \) for a dataset, what is the value of \( r^2 \) and what does it mean?

Question 3 of 5

A scatterplot shows a perfect U-shaped (quadratic) pattern. The Pearson correlation coefficient \( r \) for this data is most likely:

Question 4 of 5

Which of the following changes would not affect the value of \( r \)?

Question 5 of 5

A study finds \( r = 0.92 \) between ice cream sales and shark attacks at a beach. A news headline reads: "Eating ice cream increases your risk of shark attack." What is the best criticism of this headline?