Regression Foundations

Statistical Power

A reading guide for lecture p-11 — why a study can have perfect coverage and still be unable to find anything.

Section one

Key concepts

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 isA false positive meansMeasured by
Sampling versionthe true slopethe CI misses the true valuealpha
Program evaluation versionslope = 0concluding a program worked when it did notthe 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:

  • 7 of 100 confidence intervals fail to contain the true slope — about what alpha predicts. Confidence is working.
  • More than half of the samples fail to reject the null. Power is terrible.
  • The p-value would be around 0.50

Three ways to increase power.

  1. Increase the sample size. n = 10 → 50: failure to reject drops from about a half to about a third. At n = 75, only 5–10%.
  2. Add control variables. Same mechanism — a smaller residual means a smaller standard error means a narrower interval.
  3. Have a bigger effect to find. With n = 10 but a true slope of 4 instead of 1, power is high. It is easier to detect large changes than small ones.

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

Key relationships

The mental map. How the pieces connect, and how to read the deck.

The distinction this deck exists to make

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.

Two nulls, two false positives

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.

Power depends on the effect you are looking for

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.

Power reuses the same three levers

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:

SEb1residualsample size · var(x)

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).

Type II errors are a design failure, not an analysis failure

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.

The leverage puzzle at the end

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.

How to read the slides

SlidesWhat they are doingWhat to take away
1–4Sampling distribution recapn = 10 vs n = 50. Carried over from p-03.
5–7Confidence interval width60%, 90%, 95%, 99% on the same estimate.
8–9The normal distribution and n = 50Setup for the simulation.
10–11The two-nulls slidesThe thesis. Read the notes text carefully — it is doing the work.
12–14Power and sample size10 → 50 → 75; failure rate a half → a third → 5–10%.
15Power and effect sizeTrue slope of 4 at n = 10. Big effects are easy to find.
16–17A puzzleSystematic error from random samples. Try to answer before turning the page.
18–19The answer: leverageExtreme-X clusters bias every sample the same way.

Section three

What should be clear in my mind?

This deck has no closing checklist. These are the things to be able to answer.

  1. The difference between confidence and power. Confidence asks how often your interval covers the true slope. Power asks how often you reject zero when the effect is real. Different nulls, different questions.
  2. Why a study can have correct coverage and no power. The interval is honestly reporting a lot of uncertainty; that uncertainty just happens to span zero.
  3. The two meanings of Type I error, and which one your regression p-value reports.
  4. What power depends on: sample size, residual variance, variation in X, and the size of the effect you are trying to detect.
  5. Why power must be specified against an effect size. “Powered” is meaningless without “powered to detect what.”
  6. Why leverage produces systematic rather than random error, and why more sampling will not fix it.

Key takeaways