Correlation Trainer: What r Can and Cannot Tell You

Train your eye, then break the coefficient on purpose.

Working guidelines

0% Complete

Learning objectives

  1. Estimate the direction and rough magnitude of Pearson's r from a scatterplot, then calibrate that judgment with feedback.
  2. Explain why a single influential observation and range restriction can substantially change Pearson's r.
  3. Explain why a strong correlation can disappear once a third variable is considered, and why correlation alone does not establish causation.
  4. Run and interpret cor.test(), and distinguish r from r2.

Step 1: Predict first

You will examine the same statistic under several data conditions. Commit before touching the controls.

1a. Which do you think can change Pearson's r the most: moving one extreme point, restricting the range of x, or revealing a third variable? Why?

1b. Suppose two variables correlate at r = .80. What, if anything, does that tell you about whether one variable causes the other?

Step 2: Train your eye — guess r

For each scatterplot, move the slider to your best guess before checking. The five datasets are fixed so everyone in class sees the same evidence.

0.00
1 of 5
Make a guess before revealing the coefficient.

Q1. Across the five plots, what visual feature helped you most: the direction, how tightly points clustered around a line, or something else? What did you systematically over- or underestimate?

Step 3: One point can have leverage

The twelve grey observations have only a weak positive association. The orange point is far from the rest on x. Move only its y-value.

5
Orange point yObserved rWhat changed?
-10
5
30

Q2. The twelve original points never moved. Explain how one observation could make the overall coefficient look negative, near zero, or strongly positive.

Q3. What should this make you do before reporting a Pearson correlation?

Step 4: Range restriction can hide a relationship

Across all 40 applicants, admissions test scores and first-year GPA go together. But a selective college admits only its top scorers, so it only ever sees their GPAs. Raise the bar and watch what the college sees.

Top 40 of 40 applicants
Top scorers admittedObserved r
40
30
20
10

Q4. Why did the correlation weaken when the college admitted only top scorers, even though the relationship across all applicants did not change?

Q5. Give one behavioral-science example where selection into a restricted sample could make a real relationship look weaker than it is in the broader population.

Step 5: A lurking variable can manufacture a compelling story

These data are from children. Shoe length and reading score show a strong raw association. Use the buttons to reveal age, then remove the linear age trend from both variables.

Raw view: every point is treated as if age were irrelevant.

Q6. In the raw view, what causal story might someone be tempted to tell about shoe length and reading? Why is that story poor?

Q7. After coloring by age, compare the overall r with the three within-age correlations. What pattern do you see?

Q8. In the adjusted view, the residual correlation is nearly zero. What does age explain about the original association?

Step 6: r is not r2

One trainer dataset has r ≈ .60. Squaring gives r2 ≈ .36. The coefficient and its square answer different questions.

Q9. A classmate says, “r = .60 means 60% of the variability is shared.” Correct the statement.

Step 7: Bridge the simulator to R

Run this code yourself. It reproduces the second trainer dataset exactly.

x <- 1:14
y <- c(43.54, 36.88, 53.83, 33.55, 49.62, 42.01, 59.51,
       40.79, 57.98, 50.03, 66.04, 46.05, 63.36, 56.81)

plot(x, y)
cor.test(x, y)
cor(x, y)^2
Check your output — open this after you have run the code yourself.
Pearson's product-moment correlation

t = 2.5974, df = 12, p-value = 0.02334
95 percent confidence interval:
 0.1016866 0.8575317
sample estimates:
      cor
0.5998998

r-squared = 0.3598798

Q10. Interpret the coefficient, the confidence interval, and r2. Then state one conclusion the output does not justify.

Step 8: Return to your prediction

Q11. Re-read Step 1. Which of your predictions changed most? Use evidence from at least two tools in this module.

Q12. Complete this sentence in your own words: “A correlation coefficient is useful when ___, but dangerous when ___.”

Submission checklist

Filename: correlation-trainer_lastname1_lastname2.pdf