Skills

Correlation and Scatterplots

A correlation describes how two variables are related.

Practice 2: Research Methods and DesignPractice 3: Data Interpretation

Part 1 · Hook

Why this matters

Cities with more churches have more crime. Kids with bigger feet read better. Countries that eat more chocolate win more Nobel prizes. Each of these relationships has turned up in real data, and none means what it seems to: bigger cities have more of everything, older kids have bigger feet and read better, and richer countries buy more chocolate and fund more science. Reading a correlation well means asking what else could explain it.

Part 2 · Before you start

What this builds on

Part 3 · Prerequisite check

Quick check before you start

1. A researcher records hours of sleep and grades for 200 students, without changing anything. What can she conclude?

  1. Whether sleep and grades are related, but not whether one causes the other
  2. That more sleep causes better grades
  3. That better grades cause more sleep
  4. Nothing, because no one was randomly sampled
Show the answer

This is a correlational study: it shows whether variables are related, not cause and effect.

  • Correct: Whether sleep and grades are related, but not whether one causes the other:
  • That more sleep causes better grades:
  • That better grades cause more sleep:
  • Nothing, because no one was randomly sampled:

2. What is a third variable?

  1. An outside variable that affects both of two related variables
  2. The variable a researcher manipulates in an experiment
  3. The variable that is measured in an experiment
  4. A variable that appears in only one of the groups
Show the answer

A third variable can create a relationship between two variables that do not affect each other.

  • Correct: An outside variable that affects both of two related variables:
  • The variable a researcher manipulates in an experiment:
  • The variable that is measured in an experiment:
  • A variable that appears in only one of the groups:

Part 4 · See it

See it first

Three scatterplots of ten invented points each. Left: points rise from lower left to upper right, r = +0.97, a strong positive correlation, with a rising line of best fit. Middle: points scattered with no pattern, r = +0.02, little or no correlation. Right: points fall from upper left to lower right, r = -0.89, a strong negative correlation, with a falling line of best fit. The sign of r gives the direction and its size the strength.
Positive, near-zero and negative correlations (invented data). LevlPrep original diagram.

Part 5 · Step by step

How it works, step by step

  1. Two variables are measured for the same people and plotted as pointsa scatterplot shows whether they rise together, move in opposite directions or show no pattern
  2. The correlation coefficient r summarizes the patternits sign gives the direction and its size, from 0 to 1, gives the strength
  3. Nothing was manipulated or randomly assigneda third variable or the reverse direction may explain the relationship, so no cause can be claimed

Part 6 · Key ideas

Key ideas

  • The correlation coefficient rr runs from −1-1 to +1+1. The sign is the direction; the size (ignoring the sign) is the strength. r=−0.8r = -0.8 is stronger than r=+0.5r = +0.5.
  • A positive correlation: both variables rise and fall together. A negative correlation: as one rises, the other tends to fall.
  • A scatterplot shows each person as a point; the line of best fit shows the trend and allows prediction.
  • Correlation is not causation: a third variable or the directionality problem can explain it. An illusory correlation is a relationship people believe in that the data do not show.

Part 7 · Misconception

A common mistake

The wrong idea: A negative correlation means a weak or bad relationship, and a strong correlation proves cause and effect.

What actually happens: Negative only means the variables move in opposite directions: r=−0.9r = -0.9 is very strong. And no correlation, however strong, shows cause without an experiment.

Part 8 · Check yourself

Check yourself

Exam-style questions. Anything you miss goes into your review queue.

1. Which correlation coefficient shows the strongest relationship between two variables?

  1. r=−0.82r = -0.82
  2. r=+0.45r = +0.45
  3. r=+0.10r = +0.10
  4. r=−0.30r = -0.30
Show the answer

Strength is the size of r, ignoring the sign. A coefficient near -1 or +1 is strong; near 0 is weak.

  • Correct: r=−0.82r = -0.82: Right: its size, 0.82, is the largest; the minus sign gives only the direction.
  • r=+0.45r = +0.45: Its size, 0.45, is smaller than 0.82.
  • r=+0.10r = +0.10: This is close to zero: a very weak relationship.
  • r=−0.30r = -0.30: Its size, 0.30, is smaller than 0.82.

2. Across 50 towns, the more ice cream is sold in a month, the more drownings occur. Which explanation is most likely?

  1. Eating ice cream causes people to drown more often
  2. Hot weather raises both swimming and ice cream sales
  3. Drownings make the people of a town buy more ice cream
  4. The relationship is likely an illusory correlation
Show the answer

Two variables can move together because a third variable affects both. Hot months bring more swimming (and drownings) and more ice cream.

  • Eating ice cream causes people to drown more often: A correlation does not show cause; a third variable explains this one.
  • Correct: Hot weather raises both swimming and ice cream sales: Right: summer heat drives both.
  • Drownings make the people of a town buy more ice cream: That reverses the direction, and it still ignores the obvious third variable.
  • The relationship is likely an illusory correlation: An illusory correlation is a relationship people believe in that the data do not show; here the data show one.

3. Children who play violent video games more often are rated by teachers as more aggressive. Which is an example of the directionality problem in this finding?

  1. Already aggressive children may choose violent games more
  2. Parents’ supervision may affect both game time and aggression
  3. Teachers who rate the children may know about their games
  4. The children were not randomly sampled from the population of children
Show the answer

The directionality problem: in a correlation we cannot tell which of the two variables affects the other.

  • Correct: Already aggressive children may choose violent games more: Right: aggression could lead to game choice, the reverse of the usual story.
  • Parents’ supervision may affect both game time and aggression: That is a third variable, a separate problem from directionality.
  • Teachers who rate the children may know about their games: That is a source of bias in the measure, not directionality.
  • The children were not randomly sampled from the population of children: That limits generalizing; it is not about which variable came first.

Data

Hours studied and quiz scores

024685060708090Hours studied in the week before the quizQuiz score (out of 100)

4. Which statement best describes the relationship in the scatterplot?

  1. A strong negative correlation
  2. A weak positive correlation
  3. A strong positive correlation
  4. No correlation between hours and scores
Show the answer

The points slope upward and cluster tightly around the line of best fit: strong and positive. For these invented data r = .88.

  • A strong negative correlation: The points rise from left to right, so the correlation is positive.
  • A weak positive correlation: The points sit close to the line, so the relationship is strong.
  • Correct: A strong positive correlation: Right: scores rise with hours and the points lie close to the line (r = .88).
  • No correlation between hours and scores: There is a clear upward pattern.

5. A teacher concludes from this plot that studying more causes higher quiz scores. What is the problem with that conclusion?

  1. The correlation is negative, so studying lowers scores
  2. The plot shows no relationship between hours and scores
  3. A scatterplot shows the cause, but this one has too few students
  4. The data are correlational; interest could raise both
Show the answer

The students chose how much to study, so this is a correlational study. Interest, prior knowledge or free time could affect both hours and scores. An experiment that randomly assigns study time would be needed to show cause.

  • The correlation is negative, so studying lowers scores: The points rise from left to right: the correlation is positive.
  • The plot shows no relationship between hours and scores: There is a clear, strong pattern.
  • A scatterplot shows the cause, but this one has too few students: A scatterplot shows a relationship, never a cause, whatever its size.
  • Correct: The data are correlational; interest could raise both: Right: a third variable, such as interest, could explain the pattern.

6. Using the line of best fit, about what score would you predict for a student who studied 4 hours?

  1. About 70
  2. About 55
  3. About 88
  4. About 4
Show the answer

The line of best fit passes near 70 at 4 hours. A correlation lets you predict one variable from the other, even though it does not show cause.

  • Correct: About 70: Right: the line passes near 70 at 4 hours.
  • About 55: That is near the line at 1 hour.
  • About 88: That is near the line at 8 hours.
  • About 4: That is the number of hours, not a score.

Part 9 · Summary

Summary

A correlation describes how two variables are related. On a scatterplot, points rising to the right show a positive correlation and points falling to the right a negative one; the correlation coefficient rr gives the direction by its sign and the strength by its size, from 0 to 1. A correlation allows prediction but never shows cause: a third variable or the reverse direction may explain it, and some correlations people believe in are illusory.

Part 10 · Up next

What comes next

Part 11 · Connections

Connections