Regression Foundations
A reading guide for lecture p-10 — seven failure modes, and why most of them are the same one.
Section one
The seven sins, each stated as a claim.
Key concepts
(1) Omitted variable bias.
A variable Z related to both X and Y is left out.
(2) Multicollinearity.
Two explanatory variables are highly correlated with each other.
(3) Measurement bias.
(4) Misspecification bias.
The functional form is wrong — a straight line fitted to a curved relationship.
(5) Group differences (heterogeneity bias).
If you have natural group structures in your data and there are innate differences in the groups that are correlated with your study variable, then you will likely end up with heterogeneity bias if you do not include the groups in your model.
A “group” can be many individuals over one or more periods — or one individual measured over time.
| Scenario | Pooled model is |
|---|---|
| 1 | unbiased + efficient |
| 2 | unbiased + inefficient |
| 3 | biased + inefficient |
| Matthew effect | program impact over-stated |
| Artificial program impact | program impact over-stated |
| Simpson’s paradox | impact has the wrong sign |
(6) Bias via selection.
When people choose whether to participate, the treatment group differs from the control group on whatever drove that choice — e.g. propensity to succeed. Self-selected groups and randomly assigned groups can produce opposite slopes from the same underlying process.
(7) Simultaneity bias.
The causal structure is a feedback loop: X1 → Y → X2 → X1. Independent effects cannot be separated. Monetary policy is the standard example.
Section two
The mental map. How the pieces connect, and how to read the deck.
The deck presents seven items. They are not seven independent topics. Look at what is actually missing from the model in each case:
| Sin | What is omitted |
|---|---|
| (1) Omitted variable bias | a confounder Z |
| (5) Heterogeneity bias | group membership |
| (6) Selection bias | whatever drove the decision to participate |
| (7) Simultaneity | the reverse-causal path |
All four are the same diagnosis: something correlated with X is not in the model, so b1 absorbs its effect. Run each through bias = α1β2 from p-07 and the arithmetic is identical. Only the name of the missing thing changes.
Sin (2), multicollinearity, is the cost of the cure — what happens when the variable you added to fix the problem is too closely tied to your treatment. Sins (3) and (4) are the measurement and functional-form problems from p-09.
So the deck is really: one disease with four presentations, one expensive treatment, and two unrelated ailments. Learning it as seven separate facts is much harder than learning it as that.
This is the tension p-06 introduced, now named on both ends.
Notice that these are not two different problems to be avoided separately. They are two readings of the same fact: your treatment and your confounder move together. There is no specification that escapes both. What you choose is which cost to pay.
And there is no statistical test that resolves it, because the question is whether the variable belongs in the model — a claim about the world.
The blood pressure example is the one to remember, because the numbers reverse.
Pooled across everyone, the regression of blood pressure on dosage gives a positive slope of +3.664, highly significant, with R2 = 0.73. Every diagnostic looks excellent.
Split by individual, every within-person slope is negative. Higher doses lower blood pressure — for each person.
Both results are correct descriptions of different comparisons. The pooled slope is comparing across people: sicker people take more medication and have higher blood pressure. The within-person slope compares each person to themselves. Only the second answers “what does the drug do?”
This is Simpson’s paradox, and the deck’s six-scenario slide shows that it is the extreme case of a continuum — the pooled model can be fine, merely inefficient, over-stated, or sign-flipped, depending on how the group intercepts line up with X.
The practical rule: if your data have a natural group structure — people over time, students in schools, firms in industries — the pooled slope is answering a different question from the within-group slope, and you have to decide which one you meant.
The two slides with those titles are the whole idea, and it is worth naming the distinction as a habit:
Including group dummies (fixed effects) forces the model to use only the second. That is why the technique is so powerful: it removes all time-invariant confounders at once without measuring any of them, which is the same trick DiD plays in p-08 and the same ambition randomization achieves in a different way.
The office-hours example is neat because both panels show real data from the same underlying process, and the slopes point in opposite directions.
When students choose whether to attend office hours, attendance is correlated with an unmeasured propensity — and if weaker students seek help, the raw comparison makes tutoring look harmful. When students are assigned, that correlation is broken and the true positive effect appears.
The Venn version makes the mechanism explicit: in the self-selected panel the “propensity to succeed” circle overlaps both office hours and test scores. That is precisely α1 ≠ 0 and β2 ≠ 0 — the two conditions for bias from p-07.
| Slides | What they are doing | What to take away |
|---|---|---|
| 2–4 | Sin 1: omitted variables | Spurious vs. indirect; when Z is harmless. |
| 5–6 | Sin 2: multicollinearity | The independent region shrinks; standard errors inflate. |
| 7–11 | Sin 3: measurement | Random vs. systematic. Attenuation always toward zero. |
| 12 | Sin 4: misspecification | Cross-reference p-09. |
| 13–14 | Sin 5 introduced | The six-scenario slide. Pooled vs. fixed-effect slopes. |
| 15–17 | Cross-section vs within-group | The blood-pressure reversal. Pooled +3.66, within-person all negative. |
| 18–20 | Heterogeneity in Venn form | Used cars: if car type is uncorrelated with mileage, α1 = 0 and there is no bias. |
| 21–23 | Sin 6: selection | Self-selected vs assigned. Propensity to succeed is the omitted variable. |
| 24 | Sin 7: simultaneity | Feedback loops. Flagged as not covered further. |
Section three
This deck has no closing checklist. These are the things to be able to do.