← Back to course
Statistics 9-12 / Week 05 / Thursday
4/6
Week 05 Β· Correlation and Causation

Thursday

The formula, and the cause question
// How tight is the cloud, and what it does not prove
⏱ about 20 min

Thursday: The Formula, and the Cause Question

"Here is the inside of r," Wren says, chalking four points. "Means, standard deviations, z-scores, products, average."

Comet works through it. "Mean x 2.5, mean y 3.5. Standard deviations 1.12 each, dividing by n like week 1."

"Each point gets two z-scores," Wren says. "Multiply them. Add the four products. Divide by 4. r = 0.8."

"Now the shoe chart," Comet says, pinning a sign. "Sessions in the new club shoes against lap time. Strong and falling."

"So the shoes make runners faster!" she says.

Nova glows a question mark over the sign. "Would you like a hint? Who ran the most sessions in the shoes?"

"The runners who have practiced longest," Wren says. "Practice is hiding behind the shoes. A lurking variable."

"A correlation is not proof of a cause," Comet says. "Only an experiment could test the shoes."

How r is computed

The formula for r, on four of the crew's points. Read the steps, then put them in order below.

Four points, (1, 2), (2, 4), (3, 3) and (4, 5), with a rising line of fit.
  1. Find the mean of x and the mean of y: 2.5 and 3.5.
  2. Find the standard deviation of x and of y, dividing by n: 1.12 and 1.12.
  3. Turn each x into a z-score, value minus mean over standard deviation: -1.34, -0.45, 0.45, 1.34.
  4. Turn each y into a z-score the same way: -1.34, 0.45, -0.45, 1.34.
  5. Multiply each point's two z-scores: 1.8, -0.2, -0.2, 1.8.
  6. Add the products and divide by n: 3.2 Γ· 4 = 0.8. That is r.

A matching pair of z-scores, both positive or both negative, gives a positive product. That is Tuesday's corner rule in numbers.

COMPUTING R, IN ORDER
  • ?Find the mean of x and the mean of y
  • ?Add the products and divide by n to get r
  • ?Multiply each point's two z-scores
  • ?Turn every x and every y into a z-score
  • ?Find the standard deviation of x and of y
WHY THIS EXERCISETechnology does these steps for you, but knowing them tells you what r is made of.
A value minus the mean, divided by the standard deviation, is called a what? Type one word.
For the four points, r = what? Type the number.

Correlation is not causation

A strong r says two variables move together in the data. It does not say one makes the other happen.

A lurking variable is a third factor, not on the plot, that could drive both. Here, weeks of practice drives both shoe sessions and lap time.

Sometimes the direction is backwards: maybe faster runners choose to run more sessions, not the other way round.

Only a randomized experiment can show a cause: the crew would assign shoes by a fair draw, then compare lap times.

Sessions in the new shoes against lap time: eight dots hugging a falling line, r about -0.98.
ClaimCareful statement
"New shoes make runners faster."A correlation is not proof of a cause.
"Runners with more shoe sessions also practiced longer."A third factor, practice, could drive both.
"How could the crew find out?"Assign shoes by a fair draw and compare: a randomized experiment.
WHICH CONCLUSION IS JUSTIFIED?
  • Read the question.
  • Tap your answer.
Comet says the shoe chart, with r = -0.98, proves the new shoes cause faster laps. Which statement is the careful one?
Wren notes the runners with the most shoe sessions had also practiced the most weeks. Which statement is the careful one?
The crew wants to find out for sure whether the new shoes change lap times. Which statement is the careful one?
A scatter plot, New-shoe sessions and lap time, sessions in the new shoes across and lap time in minutes up, with 8 points and a fitted line of slope about -0.48.For the shoe chart, r = -0.98. How would you describe the linear relationship?
StatementTrue or false?
r is the average of the products of the x and y z-scores.?
A strong r proves that x causes y.?
3.2 Γ· 4 = 0.8?
A lurking variable is a third factor that could drive both x and y.?
WHY THIS EXERCISEThe formula tells you what r measures. The cause question tells you what it cannot measure.
Try it
Pick any three points of your own and run the five steps with a calculator. Check your r against technology.
Then write one "x causes y" claim you have heard and name a possible lurking variable.
Draw the shoe chart and, beside it, a sketch with "practice" pointing arrows at both shoes and lap time.

Sharp thinking. Tomorrow everyday claims, a review of the week, and the fun run poster with careful words.

← Wednesday