Regression Foundations
A reading guide for lecture p-04 — the last rung on the road map, and the one idea students most often get backwards.
Section one
The formulas and definitions the slides depend on, each stated as a claim.
Key concepts
A sampling distribution is the distribution of a statistic, not of data.
The standard error is the “average error” of a sample statistic.
How far, on average, will our best guess be from the truth?
The Central Limit Theorem is what makes inference possible.
The sampling distribution of the mean is always normal, no matter what the population looks like. As the slide notes parenthetically — otherwise we would not have inferential statistics.
A confidence interval is an estimate plus or minus a margin.
Equivalently, β1 = b1 ± t · SEb1.
The 95% refers to the procedure, not to one interval.
An interval that will contain the true slope in 95% of the samples that we draw.
The parameter is fixed. The interval is what moves from sample to sample.
The road map is now complete.
| Of the mean | Of the slope | |
|---|---|---|
| Variance | σ2x = ∑(xi − )2n − 1 | σ2ε = SSEn − 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.
Slides 15 through 17 are the most important sequence in the deck, and they are easy to flip past because each looks almost identical to the last.
In all three, the true mean μ is drawn as a fixed vertical line. What changes is which sample you happened to draw:
Then the question: how often will this happen? Five percent of the time, by construction.
This is the single most misread idea in applied statistics. A 95% confidence interval does not mean there is a 95% chance the true value is inside your interval. Your interval either contains it or it does not — you just cannot tell which. The 95% is a property of the procedure: repeat the study many times, and 95% of the intervals you build this way will capture the truth.
Read the three slides as three draws from the same machine, not as three different situations.
Slide 8 is presented as an “aside,” but nothing after it works without it.
A standard error is a single number describing spread. To turn a spread into an interval you also need to know the shape of the sampling distribution — how far out you must go to capture 95% of it. The CLT supplies that shape for free, and crucially it does so regardless of what the population looks like. The population can be skewed, lumpy, bimodal; the distribution of the sample statistic still converges to normal.
That is why the slide’s parenthetical is not a joke: otherwise we would not have inferential statistics. Without a known shape, a standard error would be uninterpretable.
This deck has a strict two-column structure, and it is the same structure as the road map:
Sampling distribution of the mean → sampling distribution of the slope. Standard error of the mean → standard error of the slope. Confidence interval of the mean → confidence interval of the slope.
If a slope concept feels slippery, find the matching mean slide and reason there first. The transfer is exact; only the formula changes.
Slide 19 plots the confidence interval of the slope against a dashed vertical line at zero. The deck does not say the word yet, but that picture is the whole of hypothesis testing:
That is why the standard error matters so much in practice. It sets the width of the interval, which decides whether zero falls inside. Chain the whole course together and you get:
Every lecture from p-02 forward has been building one link of that chain.
“We care about the sampling variance of which statistic in regression?”
The slope, b1. Not of Y, not of X, not of the residual. Those all feed into the calculation, but the thing whose sampling distribution we actually care about — the thing we build an interval around and test — is the estimated coefficient.
This is worth saying out loud because the arithmetic spends most of its time on the variance of Y and the variance of X, which makes it easy to lose track of what the answer is about.
A note on the slides’ notation. Slides 18 and 19 both write the interval with a greater-than sign on the right — b1 − t · SE < β1 > b1 + t · SE. That should be a second less-than sign; as written it says β1 is larger than both endpoints, the opposite of the intended meaning. Read both as < … <.
| Slides | What they are doing | What to take away |
|---|---|---|
| 2–3 | Road map and metaphors | Carried over. The fourth rung is finally the subject. |
| 4–7 | Sampling distribution of the mean | Population μ = 5, one sample gives = 5.4. The gap is the error. |
| 8 | The CLT “aside” | Not an aside. This is what makes intervals possible. |
| 9–12 | Sampling distribution of the slope | Same story, now for b1. Watch n=10 vs n=50. |
| 13 | The intuitive standard error | Repeated from p-03. Skim if it is solid. |
| 14 | Confidence intervals defined | Read this sentence carefully — it is about samples, not about one interval. |
| 15–17 | The three-draw sequence | The thesis. The interval moves; μ does not. Misses happen 5% of the time. |
| 18–19 | The formulas | Mean, then slope. Note the typo in the inequality. |
| 20 | The road map, complete | All four rungs, both columns. |
| 21 | Four questions | A real checklist this time, not a summary. |
Section three
The deck’s four questions, and what each is looking for.