Study guide
7.2 Bivariate Data, Scatterplots, Correlation & Linear Regression
NBPTS Adolescence & Young Adulthood / Mathematics Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Number Systems & Number Theory
1.1 Real and Complex Number Systems & Field Axioms 1.2 Number Theory, Divisibility, Primes & Modular Arithmetic 1.3 Sequences, Series & Summation Notation
2 Chapter 2: Polynomials & Algebraic Structures
2.1 Polynomial Operations, Factoring & Factor/Remainder Theorems 2.2 The Fundamental Theorem of Algebra & Polynomial Roots 2.3 Rational Expressions, Radical Equations & Inequalities 2.4 Matrices, Systems of Equations & Linear Algebra
3 Chapter 3: Functions & Functional Analysis
3.1 Foundations of Functions: Domain, Range & Notation 3.2 Function Transformations, Operations, Composition & Inverses 3.3 Exponential and Logarithmic Functions & Applications 3.4 Rational Functions, Asymptotes & Discontinuities
4 Chapter 4: Trigonometry & Periodic Phenomena
4.1 Angle Measure, Radians & The Unit Circle 4.2 Trigonometric Graphs, Amplitude, Period & Phase Shifts 4.3 Trigonometric Identities & Solving Trigonometric Equations 4.4 Laws of Sines and Cosines, Vectors & Polar Coordinates
5 Chapter 5: Geometry & Measurement
5.1 Axiomatic Geometry, Congruence, Similarity & Proof 5.2 Circle Theorems: Tangents, Chords, Secants & Angles 5.3 2D & 3D Measurement: Area, Surface Area & Volume 5.4 Coordinate Geometry & Geometric Transformations
6 Chapter 6: Single-Variable Calculus
6.1 Limits, Continuity & Average vs. Instantaneous Rate of Change 6.2 Differentiation Rules, Chain Rule & Implicit Differentiation 6.3 Applications of Derivatives: Curve Sketching, Extrema & Optimization 6.4 Definite & Indefinite Integrals, Riemann Sums & FTC 6.5 Volumes of Solids of Revolution: Disk, Washer & Shell Methods
7 Chapter 7: Statistics & Data Analysis
7.1 Descriptive Statistics, Data Distributions & Visual Displays 7.2 Bivariate Data, Scatterplots, Correlation & Linear Regression 7.3 Study Design, Sampling Methods & Sources of Bias 7.4 Inferential Statistics: Confidence Intervals & Hypothesis Testing
8 Chapter 8: Probability & Discrete Mathematics
8.1 Principles of Probability, Conditional Probability & Independence 8.2 Probability Distributions: Binomial & Normal Models 8.3 Combinatorics: Permutations, Combinations & Binomial Theorem 8.4 Graph Theory, Networks, Trees & Algorithms
9 Chapter 9: Mathematical Reasoning, Proof & Modeling
9.1 Propositional Logic, Truth Tables & Quantifiers 9.2 Proof Techniques & Mathematical Induction 9.3 The Mathematical Modeling Cycle & Secondary Applications 9.4 Historical Development of Mathematical Ideas & Cultural Contributions 9.5 Precise Communication of Mathematical Ideas, Definitions & Justification
10 Chapter 10: Secondary Mathematics Pedagogy & NBPTS Standards
10.1 The NBPTS Five Core Propositions & EAYA Mathematics Standards 10.2 Standards for Mathematical Practice & Productive Classroom Discourse 10.3 Formative Assessment, Student Error Analysis & Misconceptions 10.4 Component 1 Assessment Structure & Constructed-Response Strategy
7.2 Bivariate Data, Scatterplots, Correlation & Linear Regression
Key Takeaways Explain This Topic AI
Bivariate data analysis explores relationships between explanatory (x) and response (y) variables across direction, form, strength, and unusual departures on a scatterplot.
The Pearson correlation coefficient r measures the strength and direction of linear association only; it is dimensionless, bounded by [-1, 1], invariant under positive linear transformations, and non-resistant to outliers.
The Least-Squares Regression Line (LSRL) ŷ = b₀ + b₁x minimizes the sum of squared vertical residuals Σeᵢ², with slope b₁ = r(s_y / s_x) and intercept b₀ = ȳ - b₁x̄, guaranteeing that the line passes through the centroid (x̄, ȳ).
The coefficient of determination r² quantifies the proportion of total variation in the response variable y that is explained by the linear relationship with the explanatory variable x.
Residual plots (eᵢ vs xᵢ or ŷᵢ) assess model adequacy: random scatter indicates linearity and homoscedasticity, curvature indicates model inadequacy, and fanning indicates heteroscedasticity; influential points with high leverage can drastically distort regression parameters.
Last updated: September 2026
7.2 Bivariate Data, Scatterplots, Correlation & Linear Regression
Investigating relationships between two quantitative variables is a cornerstone of secondary mathematics education. Under the NBPTS standards, accomplished teachers guide students from informal visual impressions of scatterplots to rigorous algebraic and statistical modeling. This involves understanding the mathematical mechanisms governing the Pearson correlation coefficient r r r , deriving the least-squares regression line (LSRL), evaluating model assumptions via residual plots, and guarding against the pervasive traps of confounding, extrapolation, and misinterpreting influential observations.
1. Scatterplots & Characterizing Bivariate Associations
A scatterplot displays bivariate quantitative data ( x i , y i ) (x_i, y_i) ( x i , y i ) on a Cartesian coordinate plane. Convention assigns:
Explanatory Variable ( x x x , Independent/Predictor): Plotted along the horizontal axis; hypothesized to explain, predict, or influence changes in the response.
Response Variable ( y y y , Dependent/Criterion): Plotted along the vertical axis; measures the outcome of interest.
Four Essential Descriptors of Bivariate Data
When describing a scatterplot, secondary students must systematically address four key characteristics:
Direction: A positive association indicates that above-average values of x x x tend to accompany above-average values of y y y ; a negative association indicates that above-average values of x x x accompany below-average values of y y y .
Form: Linear, curvilinear (quadratic, exponential, logarithmic), or clustered into distinct subgroups.
Strength: The degree of adherence of the points to the underlying form (strong, moderate, or weak).
Unusual Features: Outliers, influential points, high-leverage points, or pronounced gaps.
2. Pearson Product-Moment Correlation Coefficient ( r r r )
The Pearson correlation coefficient r r r provides an objective, standardized metric of the strength and direction of a linear relationship between two quantitative variables.
Mathematical Formulation
For n n n paired observations ( x 1 , y 1 ) , ( x 2 , y 2 ) , … , ( x n , y n ) (x_1, y_1), (x_2, y_2), \dots, (x_n, y_n) ( x 1 , y 1 ) , ( x 2 , y 2 ) , … , ( x n , y n ) with sample standard deviations s x s_x s x and s y s_y s y : r = 1 n − 1 ∑ i = 1 n ( x i − x ˉ s x ) ( y i − y ˉ s y ) = ∑ i = 1 n ( x i − x ˉ ) ( y i − y ˉ ) ∑ i = 1 n ( x i − x ˉ ) 2 ∑ i = 1 n ( y i − y ˉ ) 2 r = \frac{1}{n - 1} \sum_{i=1}^{n} \left( \frac{x_i - \bar{x}}{s_x} \right) \left( \frac{y_i - \bar{y}}{s_y} \right) = \frac{\sum_{i=1}^{n} (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum_{i=1}^{n} (x_i - \bar{x})^2 \sum_{i=1}^{n} (y_i - \bar{y})^2}} r = n − 1 1 i = 1 ∑ n ( s x x i − x ˉ ) ( s y y i − y ˉ ) = ∑ i = 1 n ( x i − x ˉ ) 2 ∑ i = 1 n ( y i − y ˉ ) 2 ∑ i = 1 n ( x i − x ˉ ) ( y i − y ˉ )
Notice that r r r is the average product of standardized z z z -scores: r = 1 n − 1 ∑ z x i z y i r = \frac{1}{n-1} \sum z_{x_i} z_{y_i} r = n − 1 1 ∑ z x i z y i . When a data point falls in Quadrant I or III relative to the centroid ( x ˉ , y ˉ ) (\bar{x}, \bar{y}) ( x ˉ , y ˉ ) , both z z z -scores share the same algebraic sign, contributing a positive product to the sum. In Quadrants II and IV, the z z z -scores have opposite signs, contributing a negative product.
Critical Mathematical Properties of r r r
Bounded Range: − 1 ≤ r ≤ 1 -1 \le r \le 1 − 1 ≤ r ≤ 1 . Values of r = 1 r = 1 r = 1 and r = − 1 r = -1 r = − 1 represent perfect positive and perfect negative collinearity, respectively. A value of r = 0 r = 0 r = 0 denotes no linear association.
Dimensionless (Scale Invariance): Because r r r is computed from standardized z z z -scores, it has no units of measurement. Transforming units (e.g., converting centimeters to inches or Celsius to Fahrenheit) leaves r r r completely unchanged, provided the scale factor is positive ( a > 0 , c > 0 a > 0, c > 0 a > 0 , c > 0 ). If one variable is multiplied by a negative constant, r r r reverses sign.
Symmetry: r x y = r y x r_{xy} = r_{yx} r x y = r y x . Switching the roles of explanatory and response variables does not alter the correlation coefficient.
Linearity Restriction: r r r measures strictly linear association. A deterministic non-linear relationship (e.g., y = x 2 y = x^2 y = x 2 on the symmetric domain [ − 3 , 3 ] [-3, 3] [ − 3 , 3 ] ) yields r = 0 r = 0 r = 0 despite perfect functional predictability.
Non-Resistance: Like the sample mean, r r r is non-resistant. A single anomalous observation far from the bivariate centroid can drastically inflate or deflate r r r .
3. The Least-Squares Regression Line (LSRL)
When a scatterplot demonstrates a reasonably linear trend, linear regression models the response y y y as a linear function of x x x : y ^ = b 0 + b 1 x \hat{y} = b_0 + b_1 x y ^ = b 0 + b 1 x
where y ^ \hat{y} y ^ (y-hat) represents the predicted value of the response variable for a given value of x x x , b 1 b_1 b 1 is the slope, and b 0 b_0 b 0 is the y y y -intercept.
The Least-Squares Criterion
For each observation ( x i , y i ) (x_i, y_i) ( x i , y i ) , the vertical error or residual is defined as: ≠ i = y i − y ^ i = observed y − predicted y \ne_i = y_i - \hat{y}_i = \text{observed } y - \text{predicted } y = i = y i − y ^ i = observed y − predicted y
The least-squares regression line is defined as the unique line that minimizes the sum of squared vertical residuals (SSE): min b 0 , b 1 ∑ i = 1 n e i 2 = min b 0 , b 1 ∑ i = 1 n [ y i − ( b 0 + b 1 x i ) ] 2 \min_{b_0, b_1} \sum_{i=1}^{n} e_i^2 = \min_{b_0, b_1} \sum_{i=1}^{n} \left[ y_i - (b_0 + b_1 x_i) \right]^2 b 0 , b 1 min i = 1 ∑ n e i 2 = b 0 , b 1 min i = 1 ∑ n [ y i − ( b 0 + b 1 x i ) ] 2
Formulas for Slope ( b 1 b_1 b 1 ) and Intercept ( b 0 b_0 b 0 )
Setting the partial derivatives ∂ SSE ∂ b 0 = 0 \frac{\partial \text{SSE}}{\partial b_0} = 0 ∂ b 0 ∂ SSE = 0 and ∂ SSE ∂ b 1 = 0 \frac{\partial \text{SSE}}{\partial b_1} = 0 ∂ b 1 ∂ SSE = 0 yields the normal equations. Solving these equations produces the fundamental parameter formulas: b 1 = r ( s y s x ) b_1 = r \left( \frac{s_y}{s_x} \right) b 1 = r ( s x s y ) b 0 = y ˉ − b 1 x ˉ b_0 = \bar{y} - b_1 \bar{x} b 0 = y ˉ − b 1 x ˉ
Important
The Centroid Property: Rearranging the intercept formula gives y ˉ = b 0 + b 1 x ˉ \bar{y} = b_0 + b_1 \bar{x} y ˉ = b 0 + b 1 x ˉ . This proves mathematically that the least-squares regression line always passes through the centroid point ( x ˉ , y ˉ ) (\bar{x}, \bar{y}) ( x ˉ , y ˉ ) of the dataset.
Contextual Interpretation of Regression Parameters
Interpreting the Slope ( b 1 b_1 b 1 ): "For each additional 1-unit increase in the explanatory variable x x x , the model predicts an average change of b 1 b_1 b 1 units in the response variable y y y ."
Interpreting the y y y -Intercept ( b 0 b_0 b 0 ): "When the explanatory variable x x x is 0 units, the model predicts the response variable y y y will be b 0 b_0 b 0 units." (Teachers must prompt students to assess whether x = 0 x = 0 x = 0 is physically meaningful and lies within the observed domain).
4. The Coefficient of Determination ( r 2 r^2 r 2 )
The coefficient of determination, denoted r 2 r^2 r 2 , evaluates the explanatory adequacy of the regression model. In simple linear regression with an intercept, r 2 r^2 r 2 is precisely the square of Pearson's correlation coefficient.
Partitioning the Sum of Squares
The total variation in the response variable around its mean is partitioned into two additive components: SST = SSM + SSE \text{SST} = \text{SSM} + \text{SSE} SST = SSM + SSE ∑ i = 1 n ( y i − y ˉ ) 2 = ∑ i = 1 n ( y ^ i − y ˉ ) 2 + ∑ i = 1 n ( y i − y ^ i ) 2 \sum_{i=1}^{n} (y_i - \bar{y})^2 = \sum_{i=1}^{n} (\hat{y}_i - \bar{y})^2 + \sum_{i=1}^{n} (y_i - \hat{y}_i)^2 i = 1 ∑ n ( y i − y ˉ ) 2 = i = 1 ∑ n ( y ^ i − y ˉ ) 2 + i = 1 ∑ n ( y i − y ^ i ) 2
where:
SST \text{SST} SST (Total Sum of Squares): Total variation in y y y without using x x x .
SSM \text{SSM} SSM (Model Sum of Squares): Variation explained by the linear regression line.
SSE \text{SSE} SSE (Error/Residual Sum of Squares): Unexplained residual scatter. r 2 = SSM SST = 1 − SSE SST r^2 = \frac{\text{SSM}}{\text{SST}} = 1 - \frac{\text{SSE}}{\text{SST}} r 2 = SST SSM = 1 − SST SSE
Standard Pedagogical Interpretation Template
Accomplished teachers train students to use the precise interpretative phrasing:
" r 2 × 100 % r^2 \times 100\% r 2 × 100% of the total variation in the response variable ( y y y ) is explained by the linear relationship with the explanatory variable ( x x x ). "
5. Residual Analysis & Diagnostic Plots
Calculating a high r r r or r 2 r^2 r 2 is insufficient to claim that a linear model is appropriate. A linear model can produce r = 0.95 r = 0.95 r = 0.95 on data exhibiting severe quadratic curvature. The primary diagnostic tool for model validation is the residual plot .
Fundamental Properties of Residuals
∑ i = 1 n e i = 0 \sum_{i=1}^{n} e_i = 0 ∑ i = 1 n e i = 0 (the sum of residuals from an LSRL with an intercept is always exactly zero).
e ˉ = 0 \bar{e} = 0 e ˉ = 0 (the mean residual is zero).
Diagnosing Residual Patterns
A residual plot graphs the explanatory variable x i x_i x i (or predicted values y ^ i \hat{y}_i y ^ i ) on the horizontal axis against the residuals e i e_i e i on the vertical axis: +-----------------------------------------------------------------------------------+
- | RESIDUAL PLOT DIAGNOSTIC MATRIX |
- +-----------------------+-----------------------------+-----------------------------+
- | Observed Pattern | Statistical Diagnosis | Remedial Modeling Action |
- +-----------------------+-----------------------------+-----------------------------+
- | Uniform random | Linear model is appropriate | Retain linear model; |
- | scatter around e = 0 | (Homoscedasticity confirmed)| proceed with inference |
- +-----------------------+-----------------------------+-----------------------------+
- | Curved pattern | Non-linear relationship | Reject linear model; apply |
- | (U-shape / Inverted U)| (Systematic model inadequacy| re-expression (log, power) |
- +-----------------------+-----------------------------+-----------------------------+
- | Fan / Funnel shape | Heteroscedasticity | Logarithmic transformation |
- | (Spread widens/narrows| (Non-constant error variance| on y to stabilize variance |
- +-----------------------+-----------------------------+-----------------------------+
- 6. Outliers, Leverage, and Influential Points
In bivariate regression, unusual points exhibit distinct geometric properties and consequences:
Bivariate Outlier
An observation with a large vertical residual ∣ e i ∣ |e_i| ∣ e i ∣ . It falls far from the general linear trend formed by the majority of the data points.
High-Leverage Point
An observation whose explanatory value x i x_i x i lies substantially far from the centroid mean x ˉ \bar{x} x ˉ .
Leverage Property: Leverage depends solely on the x x x -value, completely independent of the y y y -value.
A high-leverage point acts like a heavy weight at the end of a long lever arm. If its y y y -value aligns with the linear trend established by the rest of the data, it has a small residual, does not alter the slope, but artificially inflates r r r and r 2 r^2 r 2 .
Influential Point
An observation whose inclusion or omission substantially alters the regression parameters (slope b 1 b_1 b 1 , intercept b 0 b_0 b 0 , or correlation r r r ). A point is typically influential if it combines high leverage with an inconsistent y y y -value that fails to follow the trend of the remaining data.
- 7. Secondary Pedagogical Traps & Instructional Interventions
- Trap 1: Correlation Does Not Imply Causation
Students routinely conclude that a strong positive correlation between two variables proves that changes in x x x cause changes in y y y .
Pedagogical Intervention: Present real-world examples driven by lurking / confounding variables (e.g., the strong positive correlation between ice cream sales and drowning incidents, both driven by the confounding variable of summer outdoor temperatures). Emphasize that only a well-designed, randomized controlled experiment can establish causal inference.
Trap 2: The Hazard of Extrapolation
Students frequently use regression equations to make predictions for x x x -values far outside the range of observed data.
Pedagogical Intervention: Illustrate the growth rate of a human infant. A linear regression predicting child height from age between 1 and 4 years will predict an adult height of 14 feet at age 35. Explain that relationships verified to be linear within a specific experimental domain may become non-linear, saturate, or reverse entirely beyond the observed data range.
Trap 3: Switching x x x and y y y in Regression
Students often assume that the regression line of y y y on x x x can simply be solved algebraically for x x x to yield the regression of x x x on y y y .
Pedagogical Intervention: Clarify that least-squares regression minimizes vertical distances ( y − y ^ y - \hat{y} y − y ^ ), whereas regressing x x x on y y y minimizes horizontal distances ( x − x ^ x - \hat{x} x − x ^ ). Because b 1 , y on x = r ( s y s x ) b_{1, y \text{ on } x} = r\left(\frac{s_y}{s_x}\right) b 1 , y on x = r ( s x s y ) while b 1 , x on y = r ( s x s y ) b_{1, x \text{ on } y} = r\left(\frac{s_x}{s_y}\right) b 1 , x on y = r ( s y s x ) , the lines are geometrically distinct whenever ∣ r ∣ < 1 |r| < 1 ∣ r ∣ < 1 .