Unit 5 · Topic 5.2 · about 20 minutes
AP Statistics 5.2: Correlation
Interpret a correlation in context, and say what it can and cannot tell you about two quantitative variables.
Unit 5: 10 to 20% of the multiple-choice section
What you'll be able to do
- Interpret the correlation coefficient for a linear relationship, in context.
Key vocabulary
| Term | What it means | The exam trap |
|---|---|---|
| Correlation coefficient | A unit-free number from to that summarizes the direction and strength of the linear association between two quantitative variables. | Changing units, such as inches to centimeters, leaves r exactly as it was, so multiplying it by a conversion factor is always wrong. |
| Linear association | A pattern in which the points cluster around a straight line. This is the only kind of association measures. | A hill-shaped relationship, like fuel economy against speed, can be strong and still give near 0. |
| Perfect linear association | or : every point sits on one straight line. | Near 1 is not the same as straight: the stopping distances give and still bend upward. |
| Confounding variable | A variable associated with both variables being studied, which offers another explanation for their association. | Age, not foot size, explains why children with bigger shoes read better, and a strong cannot rule out a variable like that. |
Predict first
An engineer tests one car's fuel economy at 13 speeds from 20 to 80 mph. Economy improves up to about 50 mph, then gets worse the faster the car goes. What would you expect the correlation between speed and fuel economy to be?
Fuel economy at 13 test speeds
A strong relationship with . There is almost no straight-line trend for to measure.
One number for a linear pattern
The correlation coefficient summarizes the direction and strength of the linear association between two quantitative variables. You get it from a calculator or software, usually printed alongside the regression line, so the work is in reading it, not computing it.
- The sign gives the direction. A positive goes with a positive association, and a negative with a negative association.
- The size gives the strength. The closer is to or , the more tightly the points cluster around a straight line.
The value of is always between and , inclusive. At exactly or , every point sits on one line: a perfect linear association. At there is no linear association. As the fuel data shows, no linear association is not the same thing as no association.
Daily exercise and resting heart rate for 20 adults
Each dot is one adult. Software gives for these data.
Worked exampleInterpreting r in context
For the 20 adults plotted above, between minutes of exercise per day and resting heart rate. Interpret this value in context.
Sign. is negative, so the association is negative: adults who exercise more tend to have lower resting heart rates.
Size. is well away from 0 but also well short of , so the linear association is moderate. The plot agrees: a clear downward drift with plenty of scatter around it.
Form. describes a linear association, so glance at the plot first. There is no curve here, so a linear description fits.
Put it together in context. There is a moderate, negative, linear association between daily minutes of exercise and resting heart rate for these adults.
A moderate, negative, linear association: adults who exercise more per day tend to have lower resting heart rates. The correlation by itself does not show that exercise is what lowers heart rate.
No units, ever
Correlation has no units. Take the used sedans from 5.1 Graphical Representations Between Two Quantitative Variables: with age in years and price in thousands of dollars, . Measure age in months and price in dollars instead, and is still . Changing units relabels the axes but leaves the pattern of points, and how tightly they hug a line, exactly as it was. That is also why you can compare the strength of two associations measured in completely different units.
Stopping distance at 11 speeds, with a straight line drawn through the points
, yet the points sit above the line at both ends and below it in the middle. That is what a curve looks like when you force a straight line through it.
Correlation is not causation
In an elementary school, students with bigger shoe sizes tend to have higher reading scores, and the correlation is strong and positive. Nobody believes big feet make better readers. Older students have bigger feet, and they have also had more years of reading practice. Age is a confounding variable: it is associated with both shoe size and reading score, so it offers another explanation for the pattern (see observational studies).
The same goes for every correlation, however strong. A relationship between two variables, real or apparent, does not show that changing one would change the other. Evidence of cause and effect comes from a well-designed experiment with random assignment, as in 1.13 Experimental Design.
Check your understanding
Four studies report these correlations. Which one shows the strongest linear association?
A study of 32 apartments near a university finds between distance from campus (miles) and monthly rent (dollars). Which interpretation is correct?
A biologist finds between the length and weight of 40 salmon, with length in inches and weight in pounds. She converts every length to centimeters and every weight to kilograms, then recomputes. What is the new correlation?
Records from 200 house fires show a correlation of between the number of firefighters who responded and the dollar amount of damage. Which conclusion is best?
For 25 young trees of one species, a scatterplot of age (years) and height (feet) rises steeply and then levels off. The correlation is . A student says that because is close to 1, a straight line is a good model for these data. Which response is best?
Exam strategy for this topic
- Section I, Multiple Choice: 42 questions in 90 minutes.
- Section II, Free Response: 4 questions in 90 minutes.
- A graphing calculator with statistical capabilities is expected on both sections.
Questions students ask
Is stronger than ?
Yes. Strength is how close is to or , and is farther from 0 than 0.62 is. The sign only gives the direction.
If is close to 0, are the two variables unrelated?
Not necessarily. means no linear association. The fuel economy data form a clear hill, yet , because the rising side and the falling side cancel out.
Does change if I measure in different units?
No. The sedans give whether age is in years or months and price is in thousands of dollars or in dollars. That is also why you can compare the strength of associations measured in different units.
If two variables are strongly correlated, does one cause the other?
Not necessarily. Across 200 house fires, more firefighters went with more damage, , but bigger fires bring more firefighters and also do more damage. Evidence of cause comes from a well-designed experiment with random assignment.
Is a percentage?
No. An of does not mean 58 percent of anything. It is a unit-free summary of how closely the points follow a straight line, and in which direction.
Do I calculate by hand?
No. A calculator or software gives it, usually printed alongside the regression line. Your job is to read it and say what it means.
Course alignment, for teachers
AP Statistics topic 5.2, Unit 5: Regression Analysis.
- Skill 4.D: Interpret statistical calculations and results to assess meaning or a claim.