5.1 Scatterplots
Set Up
Scatterplot: 2 quantitative variables on the same individuals; 1 dot per individual at (x, y).
Explanatory (x, horizontal axis) helps predict the response (y, vertical axis), e.g., hours → score.
Describe: DOFS + Context
| Feature | Look for | Words |
|---|---|---|
| Direction | Up or down | Pos. / neg. |
| Form | Shape | Linear/curved |
| Strength | How tight | Strong/weak |
| Unusual | Odd points | Outlier |
| Context | Both variables | Names, units |
Positive: as x ↑, y tends to ↑. Negative: as x ↑, y tends to ↓. None: no clear trend.
Form: straight band = linear; bending pattern = curved (nonlinear). Check form before using r.
Strength: points close to the pattern = strong; loose cloud = weak; in between = moderate.
Unusual features: outliers far from the pattern, separate clusters, or gaps in the data.
Model Answer
Sample: "There is a strong, positive, linear association between hours studied and test score for these 25 students, w/ 1 possible outlier."
5.2 Correlation (r)
What r Measures
Correlation r: direction + strength of a LINEAR association. Always −1 ≤ r ≤ 1 (no units).
Sign = direction (+ or −). |r| near 1 = strong; near 0 = weak or no linear link, e.g., r = 0.1.
| |r| | Label | Example |
|---|---|---|
| 0.8–1 | Strong | Height, arm span |
| 0.5–0.8 | Moderate | Study hrs, score |
| < 0.5 | Weak | Shoe size, GPA |
Compare |r|: r = −0.9 is STRONGER than r = 0.7; the sign only tells the direction of the trend.
Properties
No units: changing units (cm → in) does NOT change r. Swapping x and y: same r.
Not resistant: a single outlier can raise or lower r a lot, so always graph the data before trusting r.
r = 0 → no LINEAR link, but a strong curve (e.g., a U shape) can still have r ≈ 0. Look at the graph!
Formula (on the formula sheet): r = (1/(n−1)) Σ zxzy. Use your calculator's LinReg.
Interpret in Context
Template: "r = 0.82 shows a strong, positive, linear association between hours and score."
Don't say "82% related." r is not a percent; the % idea belongs to r² (see the r² card).
5.3 Linear Regression Models
The Model
LSRL: ŷ = a + bx. ŷ (y-hat) = the predicted y, not the actual y. a = y-intercept, b = slope.
Write it w/ names: predicted score = 52.3 + 4.1(hours). Always use ŷ or "predicted."
No hat? Writing y = 52.3 + 4.1x claims exact values; graders take off points. Use ŷ.
Interpret Slope & Intercept
| Part | Meaning (in context) |
|---|---|
| Slope b | Predicted Δy per +1 x |
| Intercept a | Predicted y at x = 0 |
Slope: "For each additional hour studied, the predicted score ↑ by 4.1 points."
Intercept: "At 0 hours, the predicted score is 52.3." Only makes sense if x = 0 is realistic.
Nonsense intercept: if x = 0 is far outside the data (a 0-lb car), the intercept has no real meaning.
Predict
Prediction: plug in x. For a student who studied 5 hours: ŷ = 52.3 + 4.1(5) = 72.8 points.
Extrapolation: predicting outside the x range of the data → unreliable (trend may change).
Interpolation: x inside the data's range → a reasonable prediction if the model is linear.
5.4 Residuals & Residual Plots
Residuals
Residual = actual − predicted = y − ŷ. Memory trick: A − P ("AP"). It's the vertical miss.
Positive: point above the line (model under-predicted). Negative: below (over-predicted).
Example: actual 80, ŷ = 72.8 → residual = 80 − 72.8 = 7.2 points above predicted.
Sum of residuals from the LSRL = 0 always (misses above and below cancel).
Find y: actual y = ŷ + residual. e.g., ŷ = 70 and residual = −4 → actual y = 66 (below the line).
Residual Plot
Residual plot: x on the horizontal axis, residuals on the vertical axis, w/ a line at 0 (want no pattern).
| Residual plot | Means |
|---|---|
| Random scatter | Linear OK |
| Curved (U/∩) | Not linear |
| Fan shape | Error grows |
| One far point | Outlier in y |
Judge the pattern, not the size of residuals. A clear curve = nonlinear form, even if r is high.
Fan shape: points spread out more as x grows, so predictions get less precise for large x.
Interpret: "Actual score was 7.2 points higher than the LSRL predicted for 5 hours."
5.5 Least-Squares Regression & r²
Least Squares
LSRL makes Σ(residual)² as small as possible. It always passes through the point (x̄, ȳ).
Slope b = r(sy/sx), a = ȳ − bx̄ (both on the formula sheet). b and r always share a sign.
By hand: x̄ = 4, ȳ = 70, r = 0.6, sy = 10, sx = 2 → b = 0.6(10/2) = 3, a = 70 − 3(4) = 58.
r² (Coefficient of Determination)
r² (coefficient of determination): % of the variation in y explained by the linear model w/ x.
r² template: "About 67% of the variation in score is explained by the model w/ hours."
r² from r: r = ±0.8 → r² = 0.64. Squaring drops the sign, so read the direction from b.
Good model: no pattern in the residual plot, plus a high r². One alone isn't enough.
Computer Output
| Predictor | Coef | SE Coef |
|---|---|---|
| Constant | 52.3 → a | 4.0 |
| Hours | 4.1 → b | 0.6 |
Read it: Constant row = intercept; variable row = slope; R-Sq = r². Use the Coef column.
So the line is: predicted score = 52.3 + 4.1(hours).
5.5 Computer Output: Start to Finish
The Output
| Predictor | Coef |
|---|---|
| Constant | 24.5 |
| Age (yr) | −1.8 |
| R-Sq = 81% |
Study: 10 used cars, x = age in years, y = price in $1,000s → the line is ŷ = 24.5 − 1.8x.
Equation: predicted price = 24.5 − 1.8(age). Name both variables, w/ their units, too.
Interpret It
Slope: each extra year of age → the predicted price ↓ by $1,800 (1.8 thousand dollars).
Intercept: a 0-yr-old car's predicted price is $24,500 (useful only if age 0 is in range).
r: R-Sq = 0.81 → r = −0.9 (negative b/c the slope is negative): a strong, negative link.
r²: about 81% of the variation in price is explained by the linear model w/ car age.
Predict & Check
Predict: age 6 → ŷ = 24.5 − 1.8(6) = 13.7 → a predicted price of $13,700 for that car.
Residual: it sold for $15,000 → 15 − 13.7 = 1.3 → it sold for $1,300 above predicted.
Extrapolate? The data cover ages 1–10; age 15 gives a negative price → don't trust it.
Causation, Unusual Points & Extrapolation
Correlation ≠ Causation
A strong r in observational data shows a link, not that x causes changes in the y variable.
Lurking variable: tied to both x & y. Ice cream sales & drownings both ↑ in summer heat.
Only a randomized experiment can show cause & effect between 2 variables in a study.
Say: "is associated w/" or "predicts" ✓. Avoid "causes" or "leads to" ✗ in your answer.
Ex: kids' shoe size & reading scores rise together b/c age drives both, not their feet.
Unusual Features
Off-pattern points: name them when you describe the scatterplot (DOFS), in context.
Clusters: separate groups of points can hide 2 different patterns; describe each group.
r isn't resistant: 1 point far off the linear pattern can weaken r a lot, so graph first.
Extrapolation
Extrapolation: predicting outside the data's x-range; the trend may change out there.
Safe: predict only inside the data's x-range.
Ex: kids' height vs. age (ages 2–10) predicts ~10 ft at age 40 → that's clearly nonsense.
Regression FRQ Checklist
Describe & Interpret
Describe: direction, form, strength & unusual features, using both variables in context.
Slope: "For each 1-unit ↑ in x, the predicted y ↑/↓ by b [units]." Always say predicted.
Intercept: "When x = 0, the predicted y is a." Then say whether x = 0 makes sense here.
r²: "About [r²]% of the variation in y is explained by the linear model w/ x." (Use the %.)
Residual: "The actual y was |e| [units] above/below the value the line predicted."
Check the Model
Linear apt? No pattern in the residual plot → a linear model is appropriate for the data.
Curved residual plot → a linear model is not appropriate, even if r is close to +1 or −1.
Compare 2 models: the one w/ a random residual plot wins; then compare the r² values.
Habits That Cost Points
Every answer: context + units, say "predicted," residual = y − ŷ, and no extrapolation.
Show the plug-in: ŷ = 52.3 + 4.1(5) = 72.8, then write a sentence in context about it.
Units: on every number you report.