AP Statistics · Study guide

r measures tightness, not slope.

AP® Statistics · Unit 5 · Regression Analysis

Correlation: Measuring a Linear Association

What the correlation coefficient r measures, how to read its sign and size, why it has no units, and why a large r neither proves a line fits nor shows cause and effect.

The idea in one paragraph

The correlation coefficient \(r\) is a single number between −1 and 1 that summarizes the strength and direction of the linear association between two quantitative variables. Its sign gives the direction; its closeness to −1 or 1 gives the strength. It has no units. It does not tell you whether the form is linear, and it never shows that one variable causes changes in the other.

1What r measures

Value of rMeaning
PositivePositive association: as x increases, y tends to increase
NegativeNegative association: as x increases, y tends to decrease
Close to −1 or 1Strong linear association
\(r = -1\) or \(r = 1\)Perfect linear association: every point on a line
\(r = 0\)No linear association
Figure 1. The sign of r gives the direction. How close r is to −1 or 1 gives the strength of the linear association: at ±0.95 the points lie close to a line; at ±0.2 there is only a faint linear trend.
Worked Example 1 Interpret r

Used cars

For the 12 used cars, the correlation between age (years) and price (thousand dollars) is \(r = -0.978\). Interpret it.

  1. 1r describes the linear association: name both variables and the individuals.
  2. 2Negative: older cars tend to cost less. Close to −1: strong.
Answer: r = −0.978 measures the strength and direction of the linear association between age and price for these used cars: it is a strong, negative linear association.
Say it like this

“r = −0.978 measures the strength and direction of the linear association between age and price for these used cars. It indicates a strong, negative linear association.”

2Reading r

The correlation coefficient is unit-free: it does not change when the units of either variable change, and it is the same whichever variable is on the x-axis. It is always between −1 and 1, inclusive.

Worked Example 2 r has no units

Used cars

What happens to \(r\) if price is recorded in dollars instead of thousands of dollars, and age in months instead of years? What if price goes on the x-axis instead?

  1. 1Changing units rescales the points but does not change how tightly they follow a line.
  2. 2Swapping the axes reflects the plot but keeps the same linear pattern.
Answer: r stays −0.978 in every case. Correlation is unit-free and treats the two variables the same way.
On the calculator

Turn on DiagnosticOn once (CATALOG). Put x in L1 and y in L2, then STAT, CALC, LinReg(a+bx) L1, L2. The output shows r = −0.978 for the car data, along with the regression line.

Common Mistake 1 · Saying r = −0.978 is weak because it is negative

The sign is direction only. −0.978 is just as strong as 0.978; it simply slopes down.

3What r cannot tell you

A correlation close to −1 or 1 does not necessarily mean that a linear model is appropriate, and a correlation near 0 does not mean there is no relationship at all. Look at the scatterplot first.

Figure 2. A correlation near 1 does not mean a line is the right model: the stopping distances curve away from the dashed line. A correlation near 0 does not mean there is no relationship, only no linear one. Always look at the scatterplot.
Worked Example 3 A high r with the wrong form

Speed and stopping distance

For speeds from 20 to 70 mph, \(r = 0.991\) between speed and stopping distance. A classmate says, “r is almost 1, so a straight line is a good model.” Respond.

  1. 1r measures linear strength only; it does not check whether the form is linear.
  2. 2The scatterplot (Figure 2) bends upward: each extra 5 mph adds more distance than the last.
Answer: Not justified. Despite r = 0.991, the relationship is curved, so a linear model is not the most appropriate. A correlation close to 1 does not by itself mean a linear model fits.
Common Mistake 2 · Saying r = 0 means the variables are unrelated

The U-shaped plot in Figure 2 has a correlation near 0 even though y is strongly related to x. r = 0 means no linear association.

A perceived or real relationship between two variables does not mean that changes in one cause changes in the other. Correlation does not necessarily imply causation.

Figure 3. Among elementary students, shoe size and reading score are strongly correlated because age drives both. Bigger shoes do not improve reading. A confounding variable like age can create a correlation between two variables that do not affect each other.
Worked Example 4 Correlation and causation

Shoe size and reading

In an elementary school, students’ shoe sizes and reading scores have \(r = 0.8\). Should the school buy bigger shoes to raise reading scores?

  1. 1The data are observational; nothing was assigned.
  2. 2Age is a confounding variable: older students have bigger feet and also read better.
Answer: No. The correlation is real, but it does not show that shoe size affects reading. Correlation does not imply causation.
Common Mistake 3 · Using causal words for a correlation

“Older cars cause lower prices” or “age makes price drop” goes beyond what r shows. Write “there is a strong negative linear association between age and price.”

Quick reference

FactRule
Range\(-1 \le r \le 1\)
SignDirection of the linear association
SizeCloser to ±1 means a stronger linear association
UnitsNone; unchanged by changing units or swapping x and y
LimitsDoes not check form; does not show causation
Interpretationr measures the strength and direction of the linear association between [x] and [y].