Historical Context & Motivation
The desire to understand whether two measurable quantities move together — and if so, how strongly — is one of the oldest questions in empirical science. Long before formal statistical methods existed, scientists and scholars recognized patterns: taller people tended to weigh more, warmer days seemed to coincide with higher crop yields, and rising trade volumes appeared to track national wealth. The challenge was transforming these intuitions into rigorous, reproducible measurements. The development of bivariate analysis — the study of relationships between two variables — gave scientists a powerful toolkit for moving beyond anecdote to evidence.
The central question this unit addresses is deceptively simple: Are two variables related? Answering it rigorously requires us to define what "related" means statistically, choose appropriate visual displays, compute numerical summaries, and — crucially — avoid confusing association with causation. These ideas form the backbone of Unit 2 in the AP Statistics curriculum and appear repeatedly on the exam.
Core Principles & Definitions
Before we can assess whether two variables are related, we need a precise vocabulary. In any bivariate study, we identify an explanatory variable (sometimes called the independent variable) that we suspect may influence or predict a response variable (the dependent variable). The explanatory variable is conventionally plotted on the horizontal axis, and the response variable on the vertical axis. Even when no causal claim is intended, this convention helps organize our analysis and communication.
Association
Scatterplot
Direction
Form & Strength
Correlation ≠ Causation
Visual Explanation: Anatomy of a Scatterplot
A well-constructed scatterplot is the single most important tool for exploring bivariate data. The diagram below shows a scatterplot of study hours versus exam score for 15 students, annotated with the four key features you must describe on the AP exam: direction, form, strength, and unusual features (outliers, clusters, or influential points).
Mathematical Framework: The Correlation Coefficient
While a scatterplot provides a qualitative picture, we need a numerical summary to quantify the linear relationship between two quantitative variables. The Pearson correlation coefficient r does exactly this. It standardizes both variables — converting them to z-scores — and then measures the average product of those z-scores across all observations. The resulting value always falls between −1 and +1, providing a unitless measure of linear association strength and direction.
The formula reveals important conceptual insights. When both z-scores have the same sign (both above or both below their respective means), the product is positive, contributing to a positive r. When the z-scores have opposite signs, the product is negative, pulling r toward −1. If the points scatter randomly, positive and negative products cancel, yielding r ≈ 0. Note that r measures only linear association — a perfect parabolic relationship can produce r = 0 if the curvature is symmetric.
- r = +1: Perfect positive linear relationship — all points lie exactly on an upward-sloping line.
- r = −1: Perfect negative linear relationship — all points lie exactly on a downward-sloping line.
- r = 0: No linear relationship, though a strong nonlinear pattern may exist.
- |r| > 0.8: Generally considered strong; |r| between 0.5 and 0.8 is moderate; |r| < 0.5 is weak.
Types of Association & Scatterplot Patterns
Not all bivariate relationships look the same. The form, direction, and strength of an association determine which statistical tools are most appropriate. The diagram below illustrates four common scatterplot patterns, each with a distinct combination of these characteristics. Recognizing these patterns at a glance is essential for selecting the correct analytical approach and for earning full credit on AP free-response questions.
The bottom-left panel deserves special attention. The parabolic data exhibit a clear, strong pattern, yet the correlation coefficient r is near zero because the relationship is not linear. This illustrates a critical principle: always examine the scatterplot before computing r. A numerical summary alone can be deeply misleading — a lesson famously demonstrated by Anscombe's Quartet, four datasets with nearly identical correlation coefficients but drastically different scatterplot appearances.
Worked Example: Computing and Interpreting r
Suppose we collect data on the number of absences (x) and final exam score (y) for five students in a statistics course. The data are: (2, 88), (4, 78), (6, 72), (8, 62), (10, 58). We want to compute the correlation coefficient r, interpret it in context, and determine how much of the variation in exam scores is explained by the linear relationship with absences.
STAT → CALC → 8:LinReg(a+bx). If r does not appear, turn on diagnostics first: 2nd → 0 (CATALOG) → DiagnosticOn → ENTER.Strengths, Limitations, and Common Pitfalls
The correlation coefficient r is an indispensable tool, but like any summary statistic, it can mislead when used carelessly. Understanding its properties and limitations is essential both for correct AP exam responses and for sound statistical practice. The table below contrasts the strengths and weaknesses of relying on r as a measure of association.
| Strengths | Limitations |
|---|---|
| Unitless: allows comparison across different datasets regardless of measurement scales. | Measures only linear association; a strong curved pattern can yield r ≈ 0. |
| Bounded between −1 and +1: provides a standardized scale for interpreting strength and direction. | Highly sensitive to outliers: a single extreme point can dramatically inflate or deflate r. |
| Symmetric: r(x, y) = r(y, x), so swapping explanatory and response roles does not change its value. | Does not imply causation: a strong r can arise from confounding or lurking variables. |
| Invariant under linear transformations of the data (changing units does not affect r). | Requires both variables to be quantitative; categorical data require different tools (e.g., chi-square). |
Connection to Regression and Advanced Methods
The question "Are variables related?" is the launching point for a deeper investigation that occupies much of the AP Statistics curriculum. Once we establish that a linear association exists, we naturally want to model it — that is, find the equation of the line that best summarizes the relationship and use it to make predictions. This leads us from correlation to least-squares regression, where we derive the line ŷ = a + bx that minimizes the sum of squared residuals. The table below previews how the introductory concepts in this lesson connect to more advanced topics you will encounter.
| This Lesson (Introductory) | What Comes Next (Advanced) |
|---|---|
| Scatterplot: visual display of bivariate data | Residual plots: diagnosing whether the linear model is appropriate |
| Correlation coefficient r: measures strength and direction of linear association | Slope b and intercept a: the least-squares regression equation ŷ = a + bx, with b = r × (sᵧ / sₓ) |
| r²: proportion of variability explained | Standard deviation of residuals (s): measuring prediction error |
| Association ≠ causation (observational data) | Inference for regression: t-tests and confidence intervals for the slope to assess statistical significance |
Importantly, the relationship b = r × (sᵧ / sₓ) reveals that the regression slope is directly proportional to the correlation coefficient. A stronger linear association (larger |r|) means the regression line captures more of the data's behavior. In later units, you will also learn to construct confidence intervals and perform hypothesis tests for the population slope β, bridging the gap between exploratory data analysis and formal statistical inference. Mastering the ideas in this lesson — understanding scatterplots, interpreting r, and recognizing the limits of correlation — lays the foundation for everything that follows.
Practice Problems
Lesson Summary
Exploring whether two variables are related is the foundational question of bivariate analysis. We begin by constructing a scatterplot — plotting the explanatory variable on the horizontal axis and the response variable on the vertical axis — and then describing the pattern using four features: direction (positive or negative), form (linear or nonlinear), strength (strong, moderate, or weak), and unusual features (outliers, clusters, or gaps).
The correlation coefficient r quantifies the strength and direction of a linear association as a unitless value between −1 and +1, while r² tells us the proportion of variability in the response variable explained by the linear model. Crucially, r measures only linear association, is sensitive to outliers, and is invariant under linear transformations of either variable. Above all, association does not imply causation — establishing a causal link requires a carefully designed randomized experiment, not merely a strong correlation. These foundational ideas connect directly to least-squares regression and inference for slopes in subsequent AP Statistics units.