Regression Foundations
A reading guide for lecture p-11 — why a study can have perfect coverage and still be unable to find anything.
Section one
The definitions the deck turns on, each stated as a claim.
Key concepts
Statistical power is not the level of confidence.
Power determines how often we reject the null (the CI does not contain ZERO). Level of confidence is how often a confidence interval drawn from a random sample will contain the TRUE SLOPE.
Two different reference points, two different questions. A study can be performing exactly as designed on one and failing badly on the other.
Statistical power, defined.
The probability of identifying a specific program effect (slope or effect size) using a specific sampling framework.
Note the two qualifiers: power is always power for a particular effect size under a particular design. It is not a property of a method.
“Type I error” is used in two distinct ways.
| Null is | A false positive means | Measured by | |
|---|---|---|---|
| Sampling version | the true slope | the CI misses the true value | alpha |
| Program evaluation version | slope = 0 | concluding a program worked when it did not | the regression p-value |
The p-value your software reports corresponds to the second.
The worked example.
True slope = 1, n = 10, alpha = 0.05, 100 simulated samples:
Three ways to increase power.
Leverage can bias estimates systematically across random samples.
If the sampling frame concentrates observations in particular regions of X, those high-leverage points pull the fitted slope in a consistent direction — producing estimates that are systematically too large or too small even though every sample was drawn at random.
Section two
The mental map. How the pieces connect, and how to read the deck.
Almost everything here is in service of one sentence: confidence and power are different properties, measured against different nulls.
Take the worked example seriously, because the two numbers point opposite ways:
Both statements describe the same 100 simulations. Nothing is broken. The study is correctly quantifying its own uncertainty and is simply too small to distinguish a slope of 1 from a slope of 0.
The lesson: “we used a 95% confidence interval” says nothing about whether your study could have found anything. Those are separate design questions, and only the second is about power.
The deck is unusually careful about a genuine ambiguity in the term “Type I error,” and it is worth keeping the two straight:
They coincide only in the special case where the true effect actually is zero. Everywhere else they are answering different questions, which is why a study can have good coverage and no power at the same time.
The slide that makes this concrete is the one where the sample size stays at 10 and the true slope changes from 1 to 4. Nothing about the design improved — same data-collection budget, same noise — and power goes from dismal to good.
That has two consequences worth carrying into research design:
This is also the honest reason many program evaluations fail to find effects. It is often not that the program did nothing; it is that the design could never have detected what the program plausibly does.
Slide 12 says power improves with sample size or control variables. That is not a new mechanism — it is the standard-error formula from p-03, seen from the other end:
Anything that shrinks the standard error narrows the interval, and a narrower interval is less likely to contain zero. So the levers for power are the levers for precision: more cases, more explained variance (controls, from p-06), and more variation in X.
Which means the whole course now closes a loop. Unexplained variance sets the standard error (p-02, p-03); the standard error sets the interval (p-04); the interval decides significance (p-05); and how often you get significance when there is something to find is power (p-11).
Put p-05’s error table next to this deck and the asymmetry stands out:
You can re-specify a model after the fact. You cannot re-power a study after the fact. That is the practical argument for doing power calculations at the design stage rather than treating them as a reviewer’s request.
Slides 16 and 17 pose a question rather than answering it: the estimates are systematically too large (then too small) across repeated random samples. If sampling is random, where does a systematic error come from?
Slides 18 and 19 give the answer with one word circled — leverage. Points at the extremes of X exert disproportionate pull on the fitted line (this is p-09’s outlier geometry). When the sampling frame reliably includes a cluster in a high-leverage region, every sample inherits the same tug, and the bias shows up in the sampling distribution as a shifted centre rather than as extra spread.
The important structural point: this is bias, not noise. More samples will not average it away, and a larger n will not fix it. It is a specification problem masquerading as a sampling one — which is exactly what the deck’s hint says.
| Slides | What they are doing | What to take away |
|---|---|---|
| 1–4 | Sampling distribution recap | n = 10 vs n = 50. Carried over from p-03. |
| 5–7 | Confidence interval width | 60%, 90%, 95%, 99% on the same estimate. |
| 8–9 | The normal distribution and n = 50 | Setup for the simulation. |
| 10–11 | The two-nulls slides | The thesis. Read the notes text carefully — it is doing the work. |
| 12–14 | Power and sample size | 10 → 50 → 75; failure rate a half → a third → 5–10%. |
| 15 | Power and effect size | True slope of 4 at n = 10. Big effects are easy to find. |
| 16–17 | A puzzle | Systematic error from random samples. Try to answer before turning the page. |
| 18–19 | The answer: leverage | Extreme-X clusters bias every sample the same way. |
Section three
This deck has no closing checklist. These are the things to be able to answer.