Privacy note: We capture your IP address to provide customised and focused services. See our Privacy Policy.

AP Statistics: Deep Dive and FRQ Mastery — Alpha School

Lesson 5: Scatterplots, Correlation and Association

So far you have described one variable at a time, but the most interesting questions in statistics involve two variables at once: does study time relate to exam score, does temperature relate to ice-cream sales, does height relate to arm span? The first step with two quantitative variables is always a scatterplot, with one variable on each axis and one point for each individual. The scatterplot shows the form of the relationship, its direction, its strength, and any unusual points, before a single number is computed.

Form describes the overall pattern the points follow: it might be roughly linear, curving upward, or show no pattern at all. Direction describes whether larger values of one variable tend to go with larger values of the other, a positive association, or with smaller values, a negative association. Strength describes how closely the points follow the form: points hugging a line show a strong association, while a loose cloud shows a weak one. As with single variables, always look for outliers — points that stand apart from the pattern — because a single unusual point can change the story completely.

The correlation coefficient, r, turns the strength and direction of a linear relationship into a single number between −1 and 1. A value near 1 means a strong positive linear association, near −1 a strong negative one, and near 0 means little or no linear association. But r measures linear association only: a perfect curved relationship can have a correlation near zero, which is why the scatterplot must come first. Correlation is also unit-free, so changing the units of a variable does not change r, and it is symmetric — the correlation between x and y is the same as between y and x.

The most important warning in this whole unit is that correlation does not imply causation. Two variables can be strongly correlated because one causes the other, because both are caused by a third variable, or by pure coincidence. Ice-cream sales and drownings rise together in summer, but ice cream does not cause drowning — warm weather drives both. Only a well-designed experiment, with random assignment, can establish causation; observational data can only show association. In free-response answers, never write that a correlation proves a cause.

A calculator or a computer will happily compute a correlation for any two columns of numbers, even when the scatterplot shows a curve, an outlier, or no pattern at all, and it will never warn you that the number is meaningless. That is why the order of work matters: plot first, describe the form, direction, and strength in words, and only then compute the correlation as a summary of the linear part of the relationship. If the plot shows a curve, the correlation is the wrong tool, and if it shows an outlier, you should report the correlation with and without that point so the reader can see how much it matters. The number is a servant of the picture, not a substitute for it.

A worked example

Worked example: consider the worked-example data on ten students, with hours studied and exam scores of (2, 55), (3, 62), (4, 65), (5, 70), (6, 74), (7, 78), (8, 81), (9, 85), (10, 90), (11, 93). The scatterplot rises from lower left to upper right in a fairly straight band, showing a positive, linear, moderately strong association. The correlation is about r = 0.99, which matches the tight linear pattern. But the number alone does not prove that studying causes higher scores: motivated students may both study more and score higher, and only an experiment could separate those explanations.

When you describe a bivariate relationship in an answer, use the full vocabulary: form, direction, strength, and outliers, in context. Say, for example, that there is a moderately strong, positive, linear association between hours studied and exam score, with no clear outliers. Give the correlation with its interpretation, and resist the temptation to overstate what it means. If the scatterplot curves, say so plainly and do not lean on r, because a correlation is the wrong summary for a curved relationship — the next lessons show what to do instead.

Key Terms

Scatterplot
A graph of two quantitative variables, one point per individual, showing form, direction, and strength.
Association
A relationship between two variables; positive if they rise together, negative if one falls as the other rises.
Correlation (r)
A number from −1 to 1 measuring the strength and direction of a linear association.
Outlier (bivariate)
A point that stands apart from the overall pattern in a scatterplot.
Lurking variable
A third variable that influences both variables in an association and can explain it away.

Discussion Questions

  1. A scatterplot shows a strong curved pattern, but r = 0.05. Is the correlation wrong?
  2. Why does changing the units of a variable not change the correlation?
  3. Give an example of two correlated variables where neither causes the other.

Practice Questions

  1. A scatterplot shows points falling tightly along a line sloping downward. Describe the association.
  2. What does a correlation of r = −0.85 tell you?
  3. Can the correlation between two variables be 1.5? Why not?
  4. Two variables have r = 0.9 in an observational study. Can you conclude that one causes the other?
  5. Which variable goes on the horizontal axis of a scatterplot, the explanatory or the response variable?
Show answers
  1. A strong, negative, linear association.
  2. A strong negative linear association: as one variable increases, the other tends to decrease, and the points lie close to a line.
  3. No. Correlation is always between −1 and 1.
  4. No. Correlation does not imply causation; a lurking variable could explain the association.
  5. The explanatory variable goes on the horizontal axis and the response variable on the vertical axis.
Keep reading to complete this lesson