Same eight moves you just learned — new question. Type each answer and check it, or reveal the full working whenever you're stuck.
When a pitcher throws four balls outside the strike zone, the batter gets a free base — a walk (BB). Walks put runners on for free, so the hunch is: teams whose pitchers walk more batters probably allow more runs. Let x = walks allowed and y = runs allowed, across seven MLB teams.
| Team | Walks (x) | Runs allowed (y) |
|---|---|---|
| Braves | 472 | 644 |
| Mets | 521 | 705 |
| Phillies | 498 | 672 |
| Marlins | 556 | 748 |
| Nationals | 541 | 731 |
| Pirates | 509 | 689 |
| Cardinals | 483 | 658 |
n = 7. Answers are checked with a little rounding tolerance, so don't sweat the last decimal.

Sum each column, divide by 7.
The line will pass through (511.43, 692.43) — the average team in this sample.

Build a deviation table, then sum the last two columns.
| Team | xᵢ−x̄ | yᵢ−ȳ | (xᵢ−x̄)² | (xᵢ−x̄)(yᵢ−ȳ) |
|---|---|---|---|---|
| Braves | −39.43 | −48.43 | 1554.7 | 1909.6 |
| Mets | 9.57 | 12.57 | 91.6 | 120.3 |
| Phillies | −13.43 | −20.43 | 180.4 | 274.4 |
| Marlins | 44.57 | 55.57 | 1986.5 | 2476.7 |
| Nationals | 29.57 | 38.57 | 874.4 | 1140.0 |
| Pirates | −2.43 | −3.43 | 5.9 | 8.3 |
| Cardinals | −28.43 | −34.43 | 808.3 | 978.6 |
| Σ | ≈ 0 | ≈ 0 | 5501.8 | 6907.9 |
Both large and positive — walks and runs allowed clearly move together.

β̂₁ = Sxy / Sxx, then β̂₀ = ȳ − β̂₁ × x̄.
Slope: each extra walk allowed is associated with ≈ 1.256 more runs allowed, on average.

Plug x = 556 into the line. Residual = actual − fitted. (Enter the residual.)
A tiny residual — the model fits the Marlins almost perfectly.

Square all 7 residuals and sum for SSE; then s² = SSE / (n−2).
| Team | yᵢ | ŷᵢ | eᵢ | eᵢ² |
|---|---|---|---|---|
| Braves | 644 | 643.0 | +1.0 | 1.00 |
| Mets | 705 | 704.6 | +0.4 | 0.16 |
| Phillies | 672 | 675.3 | −3.3 | 10.89 |
| Marlins | 748 | 748.4 | −0.4 | 0.16 |
| Nationals | 731 | 729.3 | +1.7 | 2.89 |
| Pirates | 689 | 689.2 | −0.2 | 0.04 |
| Cardinals | 658 | 656.8 | +1.2 | 1.44 |
| Σ | ≈ 0 | 16.58 |

TSS = Σ(yᵢ−ȳ)², then R² = 1 − SSE / TSS.
Interpretation: walks allowed explain 99.8% of the variation in runs allowed across these 7 teams — an excellent fit.

Substitute x = 530. Is this interpolation or extrapolation?
x = 530 is inside the data range (472–556), so this is interpolation — a reliable prediction.
You just ran a full simple linear regression by hand, start to finish. That's the whole chapter.