All AP Courses AP StatisticsAP Stats

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

TermWhat it meansThe exam trap
Correlation coefficient rA unit-free number from −1 to 1 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 associationA pattern in which the points cluster around a straight line. This is the only kind of association r measures.A hill-shaped relationship, like fuel economy against speed, can be strong and still give r near 0.
Perfect linear associationr=−1 or r=1: every point sits on one straight line.Near 1 is not the same as straight: the stopping distances give r=0.995 and still bend upward.
Confounding variableA 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 r 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

3035Fuel economy (miles per gallon)20406080Speed (mph)

A strong relationship with r=−0.07. There is almost no straight-line trend for r to measure.

One number for a linear pattern

The correlation coefficient r 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 r goes with a positive association, and a negative r with a negative association.
  • The size gives the strength. The closer r is to −1 or 1, the more tightly the points cluster around a straight line.

The value of r is always between −1 and 1, inclusive. At exactly 1 or −1, every point sits on one line: a perfect linear association. At r=0 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

607080Resting heart rate (beats per minute)020406080Exercise per day (minutes)

Each dot is one adult. Software gives r=−0.65 for these data.

Worked exampleInterpreting r in context

For the 20 adults plotted above, r=−0.65 between minutes of exercise per day and resting heart rate. Interpret this value in context.

  1. Sign. r is negative, so the association is negative: adults who exercise more tend to have lower resting heart rates.

  2. Size. −0.65 is well away from 0 but also well short of −1, so the linear association is moderate. The plot agrees: a clear downward drift with plenty of scatter around it.

  3. Form. r describes a linear association, so glance at the plot first. There is no curve here, so a linear description fits.

  4. Put it together in context. There is a moderate, negative, linear association between daily minutes of exercise and resting heart rate for these adults.

Answer.

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, r=−0.96. Measure age in months and price in dollars instead, and r is still −0.96. 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

0100200300400Stopping distance (feet)203040506070Speed (mph)

r=0.995, 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.

Lab

Guess the Correlation

Reading strength from a picture takes practice. Play until your guesses usually land within 0.1 of the true r, and notice which values are hardest to tell apart.

Open the full Guess the Correlation lab

Check your understanding

1

Four studies report these correlations. Which one shows the strongest linear association?

2

A study of 32 apartments near a university finds r=−0.58 between distance from campus (miles) and monthly rent (dollars). Which interpretation is correct?

3

A biologist finds r=0.74 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?

4

Records from 200 house fires show a correlation of r=0.81 between the number of firefighters who responded and the dollar amount of damage. Which conclusion is best?

5

For 25 young trees of one species, a scatterplot of age (years) and height (feet) rises steeply and then levels off. The correlation is r=0.91. A student says that because r 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 r=−0.87 stronger than r=0.62?

Yes. Strength is how close r is to −1 or 1, and −0.87 is farther from 0 than 0.62 is. The sign only gives the direction.

If r is close to 0, are the two variables unrelated?

Not necessarily. r=0 means no linear association. The fuel economy data form a clear hill, yet r=−0.07, because the rising side and the falling side cancel out.

Does r change if I measure in different units?

No. The sedans give r=−0.96 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, r=0.81, but bigger fires bring more firefighters and also do more damage. Evidence of cause comes from a well-designed experiment with random assignment.

Is r a percentage?

No. An r of −0.58 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 r 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.