When the gain from training differs between people, "the effect of training" is no longer one number, and different comparisons recover different averages of the individual gains. This part defines two of them, the average treatment effect (ATE) and the average treatment effect on the treated (ATT), shows which one OLS recovers and under what condition, and derives the condition under which IV equals the ATE and why it need not.
In this part
- Which average gain?
- Two averages: ATE and ATT
- What OLS recovers
- IV with heterogeneous gains
- IV as the ATE plus a difference term
- A worked Wald ratio: IV £10,000, ATE £5,000
- When IV equals the ATE
- Separate independence is not joint independence
- Check your understanding
- Three questions about ATE, ATT and IV
- Where next
1. Which average gain?
Suppose some people gain £2,000 from training and others £10,000. People who expect large gains have more reason to train, so the people who train, the people moved into training by an offer, and the population as a whole can have different average gains. Each comparison in the data recovers the average gain of some group, and the question for every estimator becomes: which group?
We keep the potential-outcomes model of part 1, now with \(\tau_i\) free to vary across individuals:
$$ Y_i = Y_i(0) + W_i \tau_i, \qquad \tau_i = Y_i(1) - Y_i(0) . $$What students say
“Nicky is an excellent econometrics tutor. He explains complex concepts clearly and makes them much easier to understand.”
“I was completely lost in my economics class, and then I started working Nicky and he totally saved me. He was excellent at explaining the material and extremely accommodating to meet with me many times despite us being in different time zones! Highly recommend working with Nicky!”
“Nicky is a very good and thorough teacher. He has excellent knowledge of econometrics and takes the time to work through your questions. Highly recommended!”
“Really great tutor! Encouraging, knowledgeable, friendly”
“Very good lesson, Nicky is very helpful.”
“Very helpful and clear.”
“I gather it was very useful, thank you!”
“Fantastic!”
2. Two averages: ATE and ATT
Definition: ATE and ATT
The average treatment effect is the mean gain over the whole population:
$$ ATE = \operatorname{E}[\tau_i] = \operatorname{E}[Y_i(1) - Y_i(0)] . $$The average treatment effect on the treated is the mean gain among those who actually received treatment:
$$ \begin{aligned} ATT &= \operatorname{E}[\tau_i \mid W_i = 1] \\ &= \operatorname{E}[Y_i(1) - Y_i(0) \mid W_i = 1] . \end{aligned} $$ATT asks: among the people who trained, what did training add to their earnings on average? ATE includes everyone, including people who did not train, and so includes what they would have gained had they trained. With a common effect the two coincide; with heterogeneous effects they need not.
3. What OLS recovers
Rather than assume OLS estimates either average, we derive what it estimates. With a binary \(W_i\) and an intercept, write \(q = P(W_i = 1)\), \(0 < q < 1\). The two-group argument of part 1, section 7, applied with \(W_i\) in the place of \(Z_i\), gives \(\operatorname{Cov}(W_i, Y_i) = q(1 - q)\{\operatorname{E}[Y_i \mid W_i = 1] - \operatorname{E}[Y_i \mid W_i = 0]\}\), and \(\operatorname{Var}(W_i) = q(1 - q)\) (toolkit rule 1 and rule 7). So the population OLS slope is the difference in group means:
$$ \begin{aligned} \beta_{OLS} &= \frac{\operatorname{Cov}(W_i, Y_i)}{\operatorname{Var}(W_i)} \\ &= \operatorname{E}[Y_i \mid W_i = 1] - \operatorname{E}[Y_i \mid W_i = 0] . \end{aligned} $$Treated people have \(Y_i = Y_i(1)\) and untreated people \(Y_i = Y_i(0)\). Adding and subtracting \(\operatorname{E}[Y_i(0) \mid W_i = 1]\), what the treated would have earned without training,
$$ \begin{aligned} \beta_{OLS} &= \operatorname{E}[Y_i(1) \mid W_i = 1] \\ &\quad - \operatorname{E}[Y_i(0) \mid W_i = 0] \\ &= \underbrace{\operatorname{E}[Y_i(1) - Y_i(0) \mid W_i = 1]}_{ATT} \\ &\quad + \big\{\operatorname{E}[Y_i(0) \mid W_i = 1] \\ &\qquad - \operatorname{E}[Y_i(0) \mid W_i = 0]\big\} . \end{aligned} $$Show the add-and-subtract step
- Observed means are potential-outcome means. Among the treated, \(Y_i = Y_i(1)\), so \(\operatorname{E}[Y_i \mid W_i = 1] = \operatorname{E}[Y_i(1) \mid W_i = 1]\); among the untreated, \(\operatorname{E}[Y_i \mid W_i = 0] = \operatorname{E}[Y_i(0) \mid W_i = 0]\).
- Add zero. Subtract and add \(\operatorname{E}[Y_i(0) \mid W_i = 1]\), the mean untreated earnings of the people who trained. We never observe it, but it is a well-defined number.
- Group the terms. By linearity of the conditional mean, the first pair is $$ \begin{aligned} &\operatorname{E}[Y_i(1) \mid W_i = 1] - \operatorname{E}[Y_i(0) \mid W_i = 1] \\ &\quad = \operatorname{E}[Y_i(1) - Y_i(0) \mid W_i = 1], \end{aligned} $$ the ATT. The second pair compares untreated earnings across the two groups: the selection bias.
OLS equals ATT if and only if \(\operatorname{E}[Y_i(0) \mid W_i = 1] = \operatorname{E}[Y_i(0) \mid W_i = 0]\): treated and untreated have the same mean untreated earnings. This is mean comparability in untreated outcomes. It does not require equal individual gains, nor independence of \(W_i\) from \(\tau_i\).
With a common effect, ATT = ATE = \(\tau\), and this decomposition is the one of part 1, section 3.
A population where OLS equals ATT but not ATE. Half the population would gain £10,000 from training and half £2,000. Training is more attractive to the high-gain half, so they train. Both halves would earn £50,000 without training.
| Group | Share | \(W_i\) | \(Y_i(0)\) | \(Y_i(1)\) | \(\tau_i\) |
|---|---|---|---|---|---|
| Trains | 0.50 | 1 | £50,000 | £60,000 | £10,000 |
| Does not train | 0.50 | 0 | £50,000 | £52,000 | £2,000 |
Observed earnings are £60,000 for trainees and £50,000 for the rest, so \(\beta_{OLS} = \text{£}10{,}000\). ATT is the trainees' gain, £10,000. ATE is \(0.5(\text{£}10{,}000) + 0.5(\text{£}2{,}000) = \text{£}6{,}000\). OLS isolates the trainees' gain because both groups would earn the same without training; it exceeds ATE because the people who choose training gain more than the population as a whole. This is selection on gains, a different thing from selection on untreated earnings.
Now let untreated earnings differ. Keep the gains, but suppose trainees would earn £55,000 without training. Their observed earnings become £65,000, so \(\beta_{OLS} = \text{£}65{,}000 - \text{£}50{,}000 = \text{£}15{,}000\): ATT of £10,000 plus selection bias of £5,000. ATE is still £6,000. The £15,000 difference contains both the trainees' gain and their earnings advantage before any training.
| Equal untreated earnings | Trainees £55,000 untreated | |
|---|---|---|
| OLS (difference in means) | £10,000 | £15,000 |
| ATT | £10,000 | £10,000 |
| Selection bias | £0 | £5,000 |
| ATE | £6,000 | £6,000 |
Reading down each column: OLS is ATT plus selection bias, and neither column's OLS figure is the ATE, because in both the people who train gain more than the population as a whole.
4. IV with heterogeneous gains
OLS compares people who chose differently. IV instead uses the change in treatment caused by the instrument. Keep the three conditions of part 1: relevance, exclusion and the covariance form of exogeneity, \(\operatorname{Cov}(Z_i, Y_i(0)) = 0\). We do not yet impose the stronger independence assumption of the LATE theorem. Taking the covariance of \(Y_i = Y_i(0) + W_i \tau_i\) with \(Z_i\),
$$ \begin{aligned} \tau_{IV} &= \frac{\operatorname{Cov}(Z_i, Y_i(0)) + \operatorname{Cov}(Z_i, W_i \tau_i)}{\operatorname{Cov}(Z_i, W_i)} \\ &= \frac{\operatorname{Cov}(Z_i, W_i \tau_i)}{\operatorname{Cov}(Z_i, W_i)} . \end{aligned} $$Show the covariance steps
- Split the sum. Linearity (rule 6) gives $$ \begin{aligned} \operatorname{Cov}(Z_i, Y_i) &= \operatorname{Cov}(Z_i, Y_i(0)) \\ &\quad + \operatorname{Cov}(Z_i, W_i \tau_i) . \end{aligned} $$ This needs no assumption about \(\tau_i\).
- Exogeneity. \(\operatorname{Cov}(Z_i, Y_i(0)) = 0\) removes the first term.
- Why \(\tau_i\) stays inside. Linearity lets a constant come outside. \(\tau_i\) differs between people, so \(\operatorname{Cov}(Z_i, W_i \tau_i)\) is in general not \(\tau_i \operatorname{Cov}(Z_i, W_i)\); that expression is not even a single number.
With a common effect, \(\tau\) came outside the covariance and cancelled. A \(\tau_i\) that varies cannot be taken outside, which is why the meaning of the IV estimand changes once effects differ.
5. IV as the ATE plus a difference term
Write each gain as the population mean plus a deviation, \(\tau_i = ATE + (\tau_i - ATE)\), substitute into section 4's numerator and divide by \(\operatorname{Cov}(Z_i, W_i)\):
$$ \small \tau_{IV} = ATE + \frac{\operatorname{Cov}\big(Z_i,\; W_i(\tau_i - ATE)\big)}{\operatorname{Cov}(Z_i, W_i)} . $$
Show the steps
- Split the gain. \(W_i \tau_i = W_i \cdot ATE + W_i(\tau_i - ATE)\).
- Linearity of covariance. ATE is a constant, so by rule 6 and rule 8, $$ \begin{aligned} &\operatorname{Cov}(Z_i, W_i \tau_i) \\ &\quad = ATE \cdot \operatorname{Cov}(Z_i, W_i) \\ &\qquad + \operatorname{Cov}(Z_i, W_i(\tau_i - ATE)) . \end{aligned} $$
- Divide. Dividing by \(\operatorname{Cov}(Z_i, W_i)\), non-zero by relevance, the first term becomes ATE and the second is the difference term.
The second term measures how the deviations of gains from their mean line up with the part of treatment that moves with the instrument. Heterogeneity alone does not make IV differ from the ATE; this covariance does. If the people the instrument moves into treatment gain more than average, the term is positive.
6. A worked Wald ratio: IV £10,000, ATE £5,000
The offer is randomly assigned and affects earnings only through training. Everyone would earn £50,000 without training. There are two kinds of people. A type describes how a person would respond to the offer under both assignments: write \(W_i(z)\) for whether person \(i\) would train if the offer were set to \(z\), and \(T_i = (W_i(0), W_i(1))\). Half the population are compliers, who train only if offered (\(T_i = (0, 1)\)); half are never-takers, who do not train either way (\(T_i = (0, 0)\)). Part 3 sets out all four types.
| Type | Share | \(W_i(0)\) | \(W_i(1)\) | \(Y_i(0)\) | \(Y_i(1)\) | \(\tau_i\) |
|---|---|---|---|---|---|---|
| Complier | 0.50 | 0 | 1 | £50,000 | £60,000 | £10,000 |
| Never-taker | 0.50 | 0 | 0 | £50,000 | £50,000 | £0 |
These are properties of individuals, not outcomes we observe under both assignments. The ATE is \(0.5(\text{£}10{,}000) + 0.5(\text{£}0) = \text{£}5{,}000\).
Because the offer is allocated by lottery, compliers and never-takers have the same chance of receiving it: \(Z_i\) is independent of \(T_i\), so each assignment group has, in the population, 50% of each type (a finite sample can differ by chance). This does not make \(Z_i\) independent of actual training \(W_i\); the offer is meant to change \(W_i\) for compliers.
The denominator. Without the offer nobody trains, so \(\operatorname{E}[W_i \mid Z_i = 0] = 0\). With the offer the compliers train, so \(\operatorname{E}[W_i \mid Z_i = 1] = 0.50\). The first stage is 0.50.
The numerator. Without the offer everyone earns £50,000. With it, compliers earn £60,000 and never-takers £50,000, so \(\operatorname{E}[Y_i \mid Z_i = 1] = 0.5(\text{£}60{,}000) + 0.5(\text{£}50{,}000) = \text{£}55{,}000\). The difference is £5,000.
$$ \begin{aligned} \tau_{IV} &= \frac{\text{£}55{,}000 - \text{£}50{,}000}{0.50 - 0} \\ &= \frac{\text{£}5{,}000}{0.50} = \text{£}10{,}000 . \end{aligned} $$The offer raises average earnings by £5,000 because it moves half the population into training, each of whom gains £10,000. Dividing by the 0.50 rise in participation recovers their average gain. So IV recovers the gain of the people whose treatment the offer changes, not the gain of everyone.
The same answer from section 5. Take the offer to go to half the population, \(p = 0.5\). The product \(W_i(\tau_i - ATE)\) is non-zero only for offered compliers, where it is \(\text{£}10{,}000 - \text{£}5{,}000 = \text{£}5{,}000\). Its mean is \(0.5 \times \text{£}5{,}000 = \text{£}2{,}500\) in the offered group and 0 in the other, so by part 1's binary formula \(\operatorname{Cov}(Z_i, W_i(\tau_i - ATE)) = 0.25 \times \text{£}2{,}500 = \text{£}625\), while \(\operatorname{Cov}(Z_i, W_i) = 0.25 \times 0.50 = 0.125\). The difference term is £625 / 0.125 = £5,000, and \(\tau_{IV} = \text{£}5{,}000 + \text{£}5{,}000 = \text{£}10{,}000\): the compliers' gain exceeds the ATE by £5,000.
Never-takers enter the ATE but not the Wald ratio. Suppose never-takers would gain £2,000 if training were imposed on them: \(Y_i(1) = \text{£}52{,}000\), with \(W_i(0) = W_i(1) = 0\) as before. Their observed earnings stay at £50,000 under either assignment, so the numerator, the denominator and the Wald ratio are unchanged. The ATE becomes \(0.5(\text{£}10{,}000) + 0.5(\text{£}2{,}000) = \text{£}6{,}000\). Being a never-taker refers to this offer, not to being unable to benefit from training.
Not sure whether your estimate is an ATE, an ATT or a LATE?
Problem sets and examiners ask which average a regression recovers. Send me the question or your empirical set-up and we will pin down the estimand together in a free 30-minute consultation.
7. When IV equals the ATE
Under the conditions of section 4 and a non-zero denominator, section 5's decomposition gives the exact condition:
$$ \begin{gathered} \tau_{IV} = ATE \\ \iff \operatorname{Cov}\big(Z_i,\; W_i(\tau_i - ATE)\big) = 0 . \end{gathered} $$A sufficient, but not necessary, condition is that the gain is mean independent of the pair \((Z_i, W_i)\): \(\operatorname{E}[\tau_i \mid Z_i, W_i] = ATE\). Full independence, \(\tau_i \perp\!\!\!\perp (Z_i, W_i)\), implies it and is stronger.
Show why mean independence gives IV = ATE
- Write the covariance out. $$ \begin{aligned} \operatorname{Cov}(Z_i, W_i \tau_i) &= \operatorname{E}[Z_i W_i \tau_i] \\ &\quad - \operatorname{E}[Z_i]\operatorname{E}[W_i \tau_i] . \end{aligned} $$
- Condition on \((Z_i, W_i)\). By the law of iterated expectations (rule 4), \(\operatorname{E}[Z_i W_i \tau_i] = \operatorname{E}\big[Z_i W_i\, \operatorname{E}[\tau_i \mid Z_i, W_i]\big]\). Within each of the four cells defined by \((Z_i, W_i)\), the product \(Z_i W_i\) is fixed, so it comes outside the inner mean: this is taking out what is known.
- Use mean independence. The inner mean is \(ATE\) in every cell, a constant, so \(\operatorname{E}[Z_i W_i \tau_i] = ATE \cdot \operatorname{E}[Z_i W_i]\). The same steps with \(W_i\) alone in place of \(Z_i W_i\) give \(\operatorname{E}[W_i \tau_i] = ATE \cdot \operatorname{E}[W_i]\).
- Collect. $$ \begin{aligned} &\operatorname{Cov}(Z_i, W_i \tau_i) \\ &\quad = ATE\,\big(\operatorname{E}[Z_i W_i] - \operatorname{E}[Z_i]\operatorname{E}[W_i]\big) \\ &\quad = ATE \cdot \operatorname{Cov}(Z_i, W_i), \end{aligned} $$ so \(\tau_{IV} = ATE\).
A case where it holds. Suppose half of every type would gain £2,000 and half £10,000, independently of the offer; 40% of the population are compliers and there are no defiers; everyone would earn £50,000 without training; and exclusion holds. Then ATE = £6,000, the first stage is 0.40, the earnings difference between the groups is \(0.40 \times \text{£}6{,}000 = \text{£}2{,}400\), and \(\tau_{IV} = \text{£}2{,}400 / 0.40 = \text{£}6{,}000 = ATE\). Gains differ, but the people the offer moves gain the population average.
This can be a restrictive assumption. People select into training partly on what they know about their own likely returns, information the researcher does not have, so gains can differ systematically across response types.
8. Separate independence is not joint independence
Suppose gains are independent of assignment, \(\tau_i \perp\!\!\!\perp Z_i\), and separately independent of training, \(\tau_i \perp\!\!\!\perp W_i\). These two statements do not imply \(\tau_i \perp\!\!\!\perp (Z_i, W_i)\): knowing the two variables together can reveal something about gains that neither reveals alone.
Half the population is offered a training subsidy by lottery. The population has three types; we assume there are no defiers (people who would train only without the subsidy), a restriction part 3 names monotonicity.
| Type | Share | \(W_i(0)\) | \(W_i(1)\) | Gain \(\tau_i\) |
|---|---|---|---|---|
| Never-taker | 0.20 | 0 | 0 | £2,000 |
| Complier | 0.60 | 0 | 1 | £10,000 |
| Always-taker | 0.20 | 1 | 1 | £2,000 |
The compliers expect large gains but need financial help to take part. Always-takers may have an employer paying; never-takers may be unable to attend because of other commitments. A never-taker's gain is what they would gain if trained, even though they train under neither assignment. The ATE is \(0.2(\text{£}2{,}000) + 0.6(\text{£}10{,}000) + 0.2(\text{£}2{,}000) = \text{£}6{,}800\).
- Assignment alone says nothing about gains. The lottery gives every type the same chance of the subsidy, so 60% of each assignment group are high-gain compliers: \(P(\tau_i = \text{£}10{,}000 \mid Z_i = 1) = P(\tau_i = \text{£}10{,}000 \mid Z_i = 0) = 0.60\).
- Training alone says nothing about gains, in this example. The training rate is \(P(W_i = 1) = 0.20 + 0.5(0.60) = 0.50\), and the compliers who train are \(0.5 \times 0.60 = 0.30\) of the population, so \(P(\tau_i = \text{£}10{,}000 \mid W_i = 1) = 0.30 / 0.50 = 0.60\). The same calculation for non-trainees gives 0.60. This equality comes from the chosen shares and the 50:50 lottery; it is not a general consequence of random assignment.
- Assignment and training together do. The four observed cells (C, N and A for compliers, never-takers and always-takers):
| \(Z_i\) | \(W_i\) | \(P(Z_i, W_i)\) | Types in the cell | \(\operatorname{E}[\tau_i \mid Z_i, W_i]\) |
|---|---|---|---|---|
| 0 | 0 | 0.40 | 75% C, 25% N | £8,000 |
| 0 | 1 | 0.10 | 100% A | £2,000 |
| 1 | 0 | 0.10 | 100% N | £2,000 |
| 1 | 1 | 0.40 | 75% C, 25% A | £8,000 |
The (0, 0) cell holds unoffered compliers (\(0.5 \times 0.60 = 0.30\)) and unoffered never-takers (\(0.5 \times 0.20 = 0.10\)), so 75% are compliers and the mean gain is \(0.75(\text{£}10{,}000) + 0.25(\text{£}2{,}000) = \text{£}8{,}000\). The (0, 1) cell holds only always-takers, because the population has no defiers. Since the mean gain varies across the four cells, \(\tau_i\) is not independent of the pair, despite being independent of each variable alone.
The consequence for IV. The subsidy raises participation from 0.20 to 0.80. With everyone's untreated earnings equal and exclusion holding, the earnings difference between the groups is \(0.60 \times \text{£}10{,}000 = \text{£}6{,}000\), so
$$ \begin{aligned} \tau_{IV} &= \frac{\text{£}6{,}000}{0.80 - 0.20} = \text{£}10{,}000 \\ &\neq ATE = \text{£}6{,}800 . \end{aligned} $$The subsidy changes training only for the high-gain compliers, while the population also contains low-gain never-takers and always-takers. The same structure arises when a university offers free tutoring by lottery: some students attend only if offered a place, some attend anyway and some cannot attend under either arrangement, and the combination of offer and attendance changes the mix of types in each cell.
Two independence assumptions should not be confused. This section asks whether \(\tau_i\) is independent of the pair \((Z_i, W_i)\). The LATE theorem instead assumes that \(Z_i\) is independent of the whole vector of potential outcomes and potential treatment decisions. A lottery can satisfy the second while the first fails, as here.
9. Check your understanding
Does OLS equal ATT whenever treatment effects are heterogeneous? Why can ATT differ from ATE even when OLS equals ATT?
No. OLS equals ATT only if treated and untreated people have the same mean untreated earnings. ATT can still differ from ATE because the people who select into treatment can have systematically higher or lower gains from it, as in section 3's first table.
In section 6, why divide the £5,000 earnings difference by 0.50 rather than treating £5,000 as the effect of training?
The £5,000 is the effect of the offer on average earnings across everyone offered. The offer changes training for half the population only. Under the assumptions, dividing by the 0.50 change in participation recovers the gain of those moved into training.
Is the reason IV can differ from ATE (i) that gains are unequal, or (ii) that unequal gains are associated with the treatment variation the instrument induces?
(ii). Section 7's example has unequal gains and IV = ATE, because the people the offer moves gain the population average.
Can someone observed training without the subsidy be identified as an always-taker?
Only if there are no defiers. Observing \(Z_i = 0, W_i = 1\) reveals \(W_i(0) = 1\) but not \(W_i(1)\): the person could be an always-taker \((1, 1)\) or a defier \((1, 0)\) who would stop training if offered the subsidy.
10. Three questions about ATE, ATT and IV
The ATE averages the treatment gain over the whole population, including what untreated people would gain if treated. The ATT averages it only over those who were treated. They differ when the people who take the treatment gain more or less than the population as a whole.
With a binary treatment, the OLS slope equals the ATT plus the difference in mean untreated outcomes between treated and untreated people. It equals the ATT when that difference is zero, which allows gains to differ between people.
Not in general. With heterogeneous effects, IV equals the ATE plus a term that is non-zero when the gains of the people the instrument moves into treatment differ from the population average. Under the LATE assumptions IV recovers the average gain of those people, the compliers.
11. Where next
- Part 3: intention to treat, compliance types and the Wald ratio, which names the four types and the four LATE assumptions.
- Part 1: IV with a common treatment effect, for the three conditions and the covariance ratio.
- Treatment effects and causal inference, for potential outcomes, randomisation and matching.
- The probability toolkit, with every probability rule these notes use, a number for each and its proof.
Working on instruments or treatment effects? Send me the question
I tutor econometrics one-to-one at undergraduate, master's and PhD level, including instrumental variables, LATE, two-stage least squares and programme evaluation. Bring the question, the output or the dissertation chapter you are stuck on to a free 30-minute consultation.
Book a free 30-minute consultation PhD and postgraduate econometrics WhatsApp
Written by Dr Nicky Grant from his lecture notes on instrumental variables and treatment effects; first published on drnickygrant.com on 23 November 2026. © 2026 Dr Nicky Grant. You are welcome to link to these notes and to quote short passages with a link to this page; please do not republish them.
