Regression Foundations
A reading guide for lecture p-01 — what the slides cover, how the pieces connect, and what to walk away with.
Section one
The formulas and definitions the lecture depends on, each stated as a claim.
Key concepts
Everything in this lecture is built from one quantity: the deviation.
Square it, multiply it by another one, or divide one by another — that is the whole lecture.
Variance measures distances from data points to the mean.
Standard deviation puts variance back into the original units.
Standard error measures the distance from an estimate to the truth.
Covariance measures whether two variables sit above or below their means together.
Correlation is covariance rescaled into unitless form.
The regression slope is covariance divided by variance.
The same four concepts apply to the mean and to the slope.
| Of the mean | Of the slope | |
|---|---|---|
| Variance | σ2x = ∑(xi − )2n − 1 | σ2ε = SSEn − 2 = ∑ei2n − 2 |
| Standard deviation | σx = √σ2x | σε = √σ2ε |
| Standard error | SE = σx√n | SEb1 = √σ2ε∑(xi − )2 |
| Confidence interval | μ = ± t · SE | β1 = b1 ± t · SEb1 |
Section two
The mental map. How the pieces connect, and how to read the deck.
The lecture appears to introduce four separate measures — variance, covariance, correlation, and the regression slope. It does not. It introduces one operation and then divides it by four different things.
Take a deviation. Multiply it by a second deviation. Add up the products. That is it:
Variance is not a different kind of thing from covariance; it is the special case where both variables are the same one. If you understand the deviation product, you understand the whole lecture, and the four names are just bookkeeping for what sits in the denominator.
Slope and correlation have the identical numerator. Everything that distinguishes them is what they are divided by, and what you divide by determines what units survive:
So: slope answers “how much,” correlation answers “how tightly.” Students routinely treat a bigger slope as a stronger relationship. It is not, and the scatterplot pairs at the end of the deck exist to break that habit.
The closing sequence of the lecture is a diagnostic, not new content. It separates three things that intuition tends to fuse:
The one case that ties them together: a perfectly flat line has zero correlation no matter how tight the points are, because Y is not moving with X at all. Tightness alone is not a relationship.
Nothing here involves uncertainty. Covariance, correlation, and the slope are descriptions of the data in front of you — no sampling, no significance, no claim about a population. That is worth noticing, because it is exactly what the rest of the term adds.
Slide 2 is not a summary of this lecture. It is the map of the next four:
You climbed that ladder for the mean in your first statistics course. The course now climbs it again for the slope. This lecture builds the bottom rungs; p-02 partitions the variance, p-03 derives the standard errors, p-04 builds the confidence intervals. The only structural change on the slope side is that dispersion gets measured with residuals (ei, distance from the point to the line) instead of deviations (xi − , distance from the point to the mean). Same ladder, different reference point.
This is also why the lecture insists on the phrase “of the.” There is no such thing as “the standard error” — only the standard error of the mean or of the slope, which are different formulas answering different questions.
| Slides | What they are doing | What to take away |
|---|---|---|
| 2–3 | The map for the whole unit | Skim now; return after p-04. Slide 2 is a reference, not a lesson. |
| 4–8 | Variance, SD, SE via the cyclist metaphor | Variance is a total, SD is an average, SE is about the estimate. |
| 9–12 | Covariance mechanics | The four-quadrant diagram. This is the load-bearing image of the lecture. |
| 13–18 | Covariance by picture, including outliers | A single extreme point can dominate the entire measure. Plot before you trust a coefficient. |
| 19–21 | The regression slope | Slide 21 is the payoff: the slope is rise-over-run computed across all cases at once. |
| 22–24 | Correlation | It is a unit conversion, nothing more. |
| 25–29 | Self-test scatterplots | No new content. Check whether you have separated tightness, steepness, and sign. |
| 30 | The checklist | If any of the four is fuzzy, reread that block. |
The slides on outliers (16–18) are a thought experiment rather than new material. Because covariance multiplies two deviations, one point far from both means contributes a product that can outweigh every other case combined — in the worked example, a single product of magnitude 100 against a total of 3 from all the other points. The lesson is not a formula; it is that the measure is fragile.
Section three
The lecture’s own closing checklist, with the answers it is looking for.