Does training raise the earnings of disadvantaged young people? People who choose training differ from those who do not, so we need variation in training that they did not choose. The US National Job Corps Study supplies it: eligible applicants were placed by lottery in a group that could enrol in Job Corps or a control group that could not. This part estimates the local average treatment effect of training on later earnings from 9,240 of those young people, shows why the simple Wald ratio misleads in this sample, and how adjusting for one variable repairs it, with code in Stata, R and Python.
In this part
- The study and the data
- The two ITTs and the Wald ratio
- Always-takers, compliers and never-takers
- Checking independence: the groups differ by sex
- The Wald ratio within men and within women
- Adding other characteristics
- Why OLS is a quarter of the IV estimate
- Exclusion and monotonicity in this study
- The code and its output
- What the estimate is, and is not
- Check your understanding
- Three questions about this application
- Where next
1. The study and the data
Job Corps is a US federal programme of education and vocational training for disadvantaged young people aged 16 to 24, delivered mainly at residential centres. In the National Job Corps Study (Schochet, Burghardt and Glazerman, 2001), eligible applicants from late 1994 to the end of 1995 were randomly assigned to a program group, who could enrol, or a control group, who were barred from Job Corps for three years. Control group members could still enrol in other education and training; in this sample half of them were in training during the first year.
We use an extract of 9,240 young people distributed with the R package causalweight (Bodory, Huber and Kueck), free to download and reuse. A copy of the variables used here is at job-corps-jc.csv. In the notation of part 3:
- \(Z_i\) =
assignment: 1 for the program group (5,577 people), 0 for the control group (3,663); - \(W_i\) =
trainy1: 1 if the person was in education or vocational training at any time in the first year after assignment, in Job Corps or elsewhere; - \(Y_i\) =
earny4: weekly earnings in US dollars in the fourth year after assignment, including zeros for those not working (17.2% of the sample).
The treatment is training of any kind, not Job Corps itself. The question is: by how much does training in the first year raise weekly earnings three years later, for the young people whom the offer of Job Corps moved into training?
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. The two ITTs and the Wald ratio
| Control (\(Z_i = 0\)) | Program (\(Z_i = 1\)) | Difference | |
|---|---|---|---|
| Share in training in year 1 | 0.5061 | 0.8463 | 0.3402 (s.e. 0.0096) |
| Mean weekly earnings in year 4 | $197.93 | $213.98 | $16.06 (s.e. 4.07) |
The first stage is large: assignment to the program group raised the share in training by 34 percentage points. The outcome ITT is $16.06 a week. Their ratio, in dollars a week, is
$$ \frac{ITT_Y}{ITT_W} = \frac{16.055}{0.3402} = 47.19 , $$and two-stage least squares gives the same figure with a robust standard error of 12.02. In words: assignment raised average earnings by $16 a week while moving 34 in every 100 people into training, which is about $47 for each person moved, if all of the $16 came through their training. If the four LATE assumptions held, this would be the average gain in weekly earnings from first-year training for compliers. Section 4 shows that one of them fails in this sample.
3. Always-takers, compliers and never-takers
Unlike the vitamin A trial, both kinds of noncompliance occur here. Half the control group trained anyway, in other programmes; 15% of the program group did not train. Under independence and monotonicity the shares of the three types follow from the two training rates (part 3, section 8):
- always-takers, who train whatever the assignment: the control group's training rate, 50.6%;
- never-takers, who do not train even when offered Job Corps: one minus the program group's training rate, 15.4%;
- compliers, who train only if offered Job Corps: the first stage, 34.0%.
Section 4 finds that assignment is random only within each sex in this sample; computing the three shares within each sex and averaging gives the same figures to within 0.2 percentage points.
So the Wald ratio is the average gain of about a third of these young people. The half who would find training elsewhere, and the sixth who would not train either way, contribute nothing to it (part 4, section 7 shows why always-takers cancel).
4. Checking independence: the groups differ by sex
Independence implies that characteristics fixed before assignment have the same distribution in both groups, apart from sampling error. In this sample they do not. Women are 46.9% of the program group and 39.4% of the control group, a gap of 7.5 percentage points with a standard error of about 1.0. Put the other way, 64.5% of the women in the sample are in the program group against 57.1% of the men. A regression of assignment on six characteristics measured at assignment rejects equal assignment probabilities at any conventional level (robust F = 10.5 on 6 and 9,233 degrees of freedom).
The study's design is the likely reason: applicants in different sampling strata had different chances of being placed in the program group, and the study's own estimates use sampling weights to correct for this. The extract contains neither the weights nor the strata. So in this sample assignment cannot be treated as random across the whole sample; the analysis below assumes it is random within each sex, the situation of part 5, section 5.
Sex matters because women in the sample earn much less: $170.85 a week on average in year 4, against $236.44 for men. With women over-represented in the program group, the program group's mean earnings are pulled down by the composition of the group, and the unadjusted ITT of $16.06 understates the earnings difference that assignment causes.
5. The Wald ratio within men and within women
If assignment is random within each sex, the LATE argument applies group by group. The data support this for the other characteristics only in part: given sex, the remaining five jointly differ between the groups at the 5% level (robust F = 2.26, p = 0.046), almost entirely through age, which section 6 takes up.
| n | P(program) | First stage | Outcome ITT | Wald ratio | |
|---|---|---|---|---|---|
| Men | 5,180 | 0.571 | 0.370 | $23.29 | $62.89 (s.e. 15.56) |
| Women | 4,060 | 0.645 | 0.299 | $18.13 | $60.66 (s.e. 18.60) |
| Everyone, unadjusted | 9,240 | 0.604 | 0.340 | $16.06 | $47.19 (s.e. 12.02) |
Both within-sex estimates are above $60 a week, and the pooled ratio of $47 lies below both. Figure 1 shows why. Each line joins a group's control point to its program point, so its slope is the Wald ratio: the change in mean earnings divided by the change in the training rate. The pooled points mix men and women in different proportions in the two groups, and the program point is dragged towards the women's lower earnings.
To combine the two, run two-stage least squares with a dummy for women. It gives $62.06 a week (robust standard error 11.97). Part 5 says this is a non-negatively weighted average of the two LATEs, each weighted in proportion to the group's share of the sample times \(\kappa(1 - \kappa)\) times its first stage, where \(\kappa\) is the group's probability of assignment to the program:
| Share of sample | \(\kappa\) | \(1 - \kappa\) | First stage | Product | |
|---|---|---|---|---|---|
| Men | 0.5606 | 0.5714 | 0.4286 | 0.3704 | 0.0509 |
| Women | 0.4394 | 0.6446 | 0.3554 | 0.2990 | 0.0301 |
The normalised weights are 0.628 and 0.372, and \(0.628 \times 62.89 + 0.372 \times 60.66 = 62.06\): the regression with the dummy and the weighted average agree to the cent, as the algebra of part 5 says they must (the probability toolkit, rule 9, shows why the pooled ratio differs). Men count for more because there are more of them, their assignment is closer to an even split and their first stage is stronger.
6. Adding other characteristics
Sex is not the only difference between the groups: the program group is also 0.16 years older on average, and age goes with earnings. Adding age, race, Hispanic origin, a high school degree and previous work to the regression gives $56.74 (robust standard error 11.46). The regressors other than the female dummy enter linearly, so this estimate does not have the exact weighting form of section 5, and it rests on the linear terms capturing how the assignment probability varies with them. The two estimates that adjust for the make-up of the groups, $56.74 and $62.06, differ by $5.32, less than half the standard error of either. The study's own sampling strata and weights would be needed for its published figures.
7. Why OLS is a quarter of the IV estimate
Regressing earnings on training, with the female dummy, gives $16.23 a week (robust standard error 4.33), about a quarter of the IV estimate. OLS compares everyone who trained with everyone who did not, and both groups are mixtures of types. Under the LATE assumptions within each sex, the mean earnings of each type can be recovered from the four observed cells:
| Weekly earnings in year 4 | Men | Women | Where it comes from |
|---|---|---|---|
| Always-takers (share 0.49 men, 0.53 women) | $220.15 | $172.17 | Control group, trained |
| Never-takers (share 0.14, 0.17) | $236.90 | $168.15 | Program group, not trained |
| Compliers without training (share 0.37, 0.30) | $221.82 | $130.91 | Estimated |
| Compliers with training | $284.71 | $191.57 | Estimated |
Show how the compliers' earnings are estimated
- Trained people. In the program group the trained are compliers and always-takers; in the control group, always-takers only. Under independence and exclusion the always-takers' earnings are the same in both groups, so they cancel from \(\operatorname{E}[Y_i W_i \mid Z_i = 1] - \operatorname{E}[Y_i W_i \mid Z_i = 0]\), which leaves the compliers' share times their mean earnings with training: \(p_C\,\operatorname{E}[Y_i(1) \mid \text{C}]\).
- Untrained people. In the control group the untrained are compliers and never-takers; in the program group, never-takers only. In the same way, \(\operatorname{E}[Y_i(1 - W_i) \mid Z_i = 0] - \operatorname{E}[Y_i(1 - W_i) \mid Z_i = 1] = p_C\,\operatorname{E}[Y_i(0) \mid \text{C}]\).
- Divide by the first stage, \(p_C\). The difference between the two complier means is the Wald ratio: for men \(\$284.71 - \$221.82 = \$62.89\). In the vitamin A trial (part 6, section 5) there are no always-takers, and step 1 reduces to the treated in assigned villages.
In both sexes the never-takers, who stayed out of training even when offered Job Corps, earn more than compliers would without training: $236.90 against $221.82 for men, $168.15 against $130.91 for women. A plausible reason is that young people already in work have less reason to train, so the untrained group contains people with high untreated earnings, and the OLS comparison is pulled down. Part of the gap between OLS and IV is this selection on untreated earnings (part 2, section 3), with the sign opposite to the ability story; the rest can come from always-takers, whose gains OLS includes and the LATE does not.
The complier rows also put the IV figure in proportion. Both sexes gain about $60 a week from training, which is 28% of the male compliers' untreated earnings and 46% of the female compliers'.
8. Exclusion and monotonicity in this study
Exclusion requires assignment to change earnings only through whether a person trains in the first year. Three features of Job Corps put it under strain. First, Job Corps offers more than training: housing at a residential centre, health care and help finding a job, any of which could raise earnings without changing \(W_i\). Second, half the sample are always-takers, and for them assignment can change which training they receive, Job Corps instead of another programme, without changing \(W_i\); if Job Corps training pays better, that difference enters \(ITT_Y\) and the Wald ratio attributes it to compliers. Third, \(W_i\) records only whether a person trained in year 1, and Job Corps can change how long they train. Each route works like the direct effect of part 5, section 1: it is divided by a first stage of about 0.34, so it is roughly tripled. The estimate is best read as the effect of training as Job Corps delivers it, for those it moves into training.
Monotonicity requires that nobody trains because they were refused Job Corps. A defier would be someone who, if offered Job Corps, would wait for a place and not train in year 1, but if refused would enrol elsewhere at once. Such cases are possible, though the offer of a free place pushes towards training; the data cannot test the assumption.
Relevance is secure: the first-stage t-statistic is 35.5.
Running IV on your own data in Stata, R or Python?
Send me the code, the output and what your supervisor or module asks for. I will help you read the first stage, the ITT and the IV estimate, starting with a free 30-minute consultation.
9. The code and its output
Each panel reads the data, computes the two ITTs and the Wald ratio, runs two-stage least squares without and with the female dummy, and repeats the Wald ratio within each sex. Robust standard errors are HC1 for the regressions and the robust form without a degrees-of-freedom correction for IV. The full scripts, which also add the other characteristics and run the OLS regression, are in Stata, R and Python.
Stata: the code
* LATE for training and earnings: the US National Job Corps Study
* Dr Nicky Grant, drnickygrant.com
* 9,240 young people. assignment = 1 if placed in the Job Corps (program) group;
* trainy1 = 1 if in education or vocational training in the first year;
* earny4 = weekly earnings (US dollars) in the fourth year after assignment
import delimited using "https://www.drnickygrant.com/teaching/data/job-corps-jc.csv", clear
* 1. Means by assignment, the two ITTs and their ratio
tabstat trainy1 earny4 female, by(assignment)
regress trainy1 assignment, vce(robust)
scalar fs = _b[assignment]
regress earny4 assignment, vce(robust)
display "Wald ratio: " _b[assignment]/fs
* 2. Two-stage least squares, without and with a dummy for women
ivregress 2sls earny4 (trainy1 = assignment), vce(robust)
ivregress 2sls earny4 female (trainy1 = assignment), vce(robust)
* 3. The Wald ratio separately for men and for women
forvalues f = 0/1 {
quietly regress trainy1 assignment if female == `f'
scalar fs = _b[assignment]
quietly regress earny4 assignment if female == `f'
display "female = `f': first stage " %6.4f fs ", ITT " %8.4f _b[assignment] ", Wald " %8.4f _b[assignment]/fs
}
* 4. Adding the other characteristics measured at assignment
ivregress 2sls earny4 female age black hispanic hsdegree everwkd (trainy1 = assignment), vce(robust)
* 5. OLS of earnings on training, for contrast
regress earny4 trainy1 female, vce(robust)
Stata: the output of sections 1 to 3
. regress trainy1 assignment, vce(robust)
Linear regression Number of obs = 9,240
F(1, 9238) = 1263.71
Prob > F = 0.0000
R-squared = 0.1349
Root MSE = .42146
------------------------------------------------------------------------------
| Robust
trainy1 | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
assignment | .3401906 .0095697 35.55 0.000 .3214319 .3589494
_cons | .5061425 .0082616 61.26 0.000 .4899479 .5223371
------------------------------------------------------------------------------
. regress earny4 assignment, vce(robust)
Linear regression Number of obs = 9,240
F(1, 9238) = 15.53
Prob > F = 0.0001
R-squared = 0.0016
Root MSE = 194.4
------------------------------------------------------------------------------
| Robust
earny4 | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
assignment | 16.05513 4.073534 3.94 0.000 8.0701 24.04015
_cons | 197.9258 3.072095 64.43 0.000 191.9039 203.9478
------------------------------------------------------------------------------
. display "Wald ratio: " _b[assignment]/fs
Wald ratio: 47.194496
. ivregress 2sls earny4 (trainy1 = assignment), vce(robust)
Instrumental variables 2SLS regression Number of obs = 9,240
Wald chi2(1) = 15.41
Prob > chi2 = 0.0001
R-squared = .
Root MSE = 195.01
------------------------------------------------------------------------------
| Robust
earny4 | Coefficient Std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
trainy1 | 47.1945 12.02391 3.93 0.000 23.62806 70.76093
_cons | 174.0387 8.662226 20.09 0.000 157.061 191.0163
------------------------------------------------------------------------------
Endogenous: trainy1
Exogenous: assignment
. ivregress 2sls earny4 female (trainy1 = assignment), vce(robust)
Instrumental variables 2SLS regression Number of obs = 9,240
Wald chi2(2) = 294.67
Prob > chi2 = 0.0000
R-squared = 0.0180
Root MSE = 192.78
------------------------------------------------------------------------------
| Robust
earny4 | Coefficient Std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
trainy1 | 62.06102 11.97481 5.18 0.000 38.59082 85.53122
female | -67.15574 3.97364 -16.90 0.000 -74.94393 -59.36755
_cons | 192.9694 8.634066 22.35 0.000 176.047 209.8919
------------------------------------------------------------------------------
Endogenous: trainy1
Exogenous: female assignment
. forvalues f = 0/1 {
2. quietly regress trainy1 assignment if female == `f'
3. scalar fs = _b[assignment]
4. quietly regress earny4 assignment if female == `f'
5. display "female = `f': first stage " %6.4f fs ", ITT " %8.4f _b[assignment] ", Wald " %8.4f _b[assignment]/fs
6. }
female = 0: first stage 0.3704, ITT 23.2941, Wald 62.8919
female = 1: first stage 0.2990, ITT 18.1335, Wald 60.6570
R: the code
# LATE for training and earnings: the US National Job Corps Study
# Dr Nicky Grant, drnickygrant.com. Needs: install.packages("AER")
suppressPackageStartupMessages(library(AER)) # ivreg(), coeftest(), vcovHC()
# 9,240 young people. assignment = 1 if placed in the Job Corps (program) group;
# trainy1 = 1 if in education or vocational training in the first year;
# earny4 = weekly earnings (US dollars) in the fourth year after assignment
jc <- read.csv("https://www.drnickygrant.com/teaching/data/job-corps-jc.csv")
# (the same data: data(JC, package = "causalweight"))
# 1. Means by assignment, the two ITTs and their ratio
aggregate(cbind(trainy1, earny4, female) ~ assignment, data = jc, FUN = mean)
first <- lm(trainy1 ~ assignment, data = jc)
itt <- lm(earny4 ~ assignment, data = jc)
coef(itt)["assignment"] / coef(first)["assignment"] # the Wald ratio
# 2. Two-stage least squares, without and with a dummy for women
iv <- ivreg(earny4 ~ trainy1 | assignment, data = jc)
ivf <- ivreg(earny4 ~ trainy1 + female | assignment + female, data = jc)
coeftest(iv, vcov = vcovHC(iv, type = "HC0"))
coeftest(ivf, vcov = vcovHC(ivf, type = "HC0"))
# 3. The Wald ratio separately for men and for women
for (f in 0:1) {
d <- subset(jc, female == f)
fs <- diff(tapply(d$trainy1, d$assignment, mean))
it <- diff(tapply(d$earny4, d$assignment, mean))
cat("female =", f, " n =", nrow(d), " first stage", round(fs, 4),
" ITT", round(it, 4), " Wald", round(it / fs, 4), "\n")
}
# 4. Adding the other characteristics measured at assignment
ivx <- ivreg(earny4 ~ trainy1 + female + age + black + hispanic + hsdegree + everwkd |
assignment + female + age + black + hispanic + hsdegree + everwkd, data = jc)
round(coeftest(ivx, vcov = vcovHC(ivx, type = "HC0"))["trainy1", ], 4)
# 5. OLS of earnings on training, for contrast
ols <- lm(earny4 ~ trainy1 + female, data = jc)
round(coeftest(ols, vcov = vcovHC(ols, type = "HC1"))["trainy1", ], 4)
R: what it prints
assignment trainy1 earny4 female
1 0 0.5061425 197.9258 0.3939394
2 1 0.8463332 213.9810 0.4692487
assignment
47.1945
t test of coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 174.0387 8.6622 20.0917 < 2.2e-16 ***
trainy1 47.1945 12.0239 3.9251 8.734e-05 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
t test of coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 192.9694 8.6341 22.3498 < 2.2e-16 ***
trainy1 62.0610 11.9748 5.1826 2.234e-07 ***
female -67.1557 3.9736 -16.9003 < 2.2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
female = 0 n = 5180 first stage 0.3704 ITT 23.2941 Wald 62.8919
female = 1 n = 4060 first stage 0.299 ITT 18.1335 Wald 60.657
Estimate Std. Error t value Pr(>|t|)
56.7440 11.4616 4.9508 0.0000
Estimate Std. Error t value Pr(>|t|)
16.2264 4.3326 3.7452 0.0002
Python: the code
# LATE for training and earnings: the US National Job Corps Study
# Dr Nicky Grant, drnickygrant.com. Needs: pandas, statsmodels, linearmodels
import pandas as pd
import statsmodels.formula.api as smf
from linearmodels.iv import IV2SLS
# 9,240 young people. assignment = 1 if placed in the Job Corps (program) group;
# trainy1 = 1 if in education or vocational training in the first year;
# earny4 = weekly earnings (US dollars) in the fourth year after assignment
jc = pd.read_csv("https://www.drnickygrant.com/teaching/data/job-corps-jc.csv")
# 1. Means by assignment, the two ITTs and their ratio
print(jc.groupby("assignment")[["trainy1", "earny4", "female"]].mean().round(4))
first = smf.ols("trainy1 ~ assignment", data=jc).fit(cov_type="HC1")
itt = smf.ols("earny4 ~ assignment", data=jc).fit(cov_type="HC1")
print(f"first stage {first.params['assignment']:.4f}, outcome ITT "
f"{itt.params['assignment']:.4f}, Wald {itt.params['assignment'] / first.params['assignment']:.4f}")
# 2. Two-stage least squares, without and with a dummy for women
iv = IV2SLS.from_formula("earny4 ~ 1 + [trainy1 ~ assignment]", data=jc).fit(cov_type="robust")
ivf = IV2SLS.from_formula("earny4 ~ 1 + female + [trainy1 ~ assignment]", data=jc).fit(cov_type="robust")
print(iv.summary.tables[1])
print(ivf.summary.tables[1])
# 3. The Wald ratio separately for men and for women
for f, d in jc.groupby("female"):
m = d.groupby("assignment")[["trainy1", "earny4"]].mean()
fs, it = m.loc[1] - m.loc[0]
print(f"female = {f}: n = {len(d)}, first stage {fs:.4f}, ITT {it:.4f}, Wald {it / fs:.4f}")
# 4. Adding the other characteristics measured at assignment
x = "female + age + black + hispanic + hsdegree + everwkd"
ivx = IV2SLS.from_formula(f"earny4 ~ 1 + {x} + [trainy1 ~ assignment]", data=jc).fit(cov_type="robust")
print(f"all covariates: {ivx.params['trainy1']:.4f} (se {ivx.std_errors['trainy1']:.4f})")
# 5. OLS of earnings on training, for contrast
ols = smf.ols("earny4 ~ trainy1 + female", data=jc).fit(cov_type="HC1")
print(f"OLS: {ols.params['trainy1']:.4f} (se {ols.bse['trainy1']:.4f})")
Python: what it prints
trainy1 earny4 female
assignment
0 0.5061 197.9258 0.3939
1 0.8463 213.9810 0.4692
first stage 0.3402, outcome ITT 16.0551, Wald 47.1945
Parameter Estimates
==============================================================================
Parameter Std. Err. T-stat P-value Lower CI Upper CI
------------------------------------------------------------------------------
Intercept 174.04 8.6622 20.092 0.0000 157.06 191.02
trainy1 47.194 12.024 3.9251 0.0001 23.628 70.761
==============================================================================
Parameter Estimates
==============================================================================
Parameter Std. Err. T-stat P-value Lower CI Upper CI
------------------------------------------------------------------------------
Intercept 192.97 8.6341 22.350 0.0000 176.05 209.89
female -67.156 3.9736 -16.900 0.0000 -74.944 -59.368
trainy1 62.061 11.975 5.1826 0.0000 38.591 85.531
==============================================================================
female = 0: n = 5180, first stage 0.3704, ITT 23.2941, Wald 62.8919
female = 1: n = 4060, first stage 0.2990, ITT 18.1335, Wald 60.6570
all covariates: 56.7440 (se 11.4616)
OLS: 16.2264 (se 4.3326)
Reading the output: in the second IV regression the coefficient on trainy1, 62.06 (95% interval 38.6 to 85.5), is the weighted average of section 5. The coefficient on female, -67.16, compares women and men with the same training status: in this model women earn about $67 a week less. It adjusts for the make-up of the two assignment groups and is not read as an effect of sex. The interval for the unadjusted ratio, 23.6 to 70.8, contains both adjusted estimates, so the sex imbalance moves the estimate by less than its sampling uncertainty, but in a direction we can explain.
10. What the estimate is, and is not
| Estimate (dollars a week) | Value | Robust s.e. | What it is |
|---|---|---|---|
| Wald ratio, no adjustment | 47.19 | 12.02 | Mixes the training effect with the sex imbalance |
| Wald ratio, men | 62.89 | 15.56 | LATE for men |
| Wald ratio, women | 60.66 | 18.60 | LATE for women |
| 2SLS with a female dummy | 62.06 | 11.97 | Weighted average of the two LATEs (0.628, 0.372) |
| 2SLS with six characteristics | 56.74 | 11.46 | Also adjusts for age and the rest, linearly |
| OLS of earnings on training, with a female dummy | 16.23 | 4.33 | Compares trainees with non-trainees: not causal |
In these 9,240 young people, under the LATE assumptions with assignment random given sex, the estimated effect of first-year training, as Job Corps delivers it, is about $62 a week in the fourth year for compliers: those who trained because they were offered Job Corps and would not have trained otherwise. It is not the effect for always-takers, who would have trained anyway and for whom Job Corps may have changed only the kind of training, nor for never-takers. It is unweighted and for this extract, so it is not the study's published impact. A different offer, for example a cash subsidy for any training, would move a different group into training and could produce a different LATE (part 5, section 6).
11. Check your understanding
Half the control group trained anyway. Does that make assignment a weak instrument?
No. Strength depends on how much assignment changes training, not on the training rate in the control group. The first stage is 0.34 with a t-statistic of 35.5. Always-takers reduce the share of compliers, which makes the estimate less precise, but they do not bias it, provided assignment does not change their earnings (section 8).
Both within-sex Wald ratios exceed $60 but the pooled one is $47. How can a pooled estimate lie outside the range of its parts?
The pooled ratio is not an average of the two ratios. It compares group means, and the program group contains a larger share of women, who earn less. That composition effect lowers the pooled outcome difference. Adjusting for sex restores an average of the two, $62.06.
If Job Corps training paid better than the other programmes the always-takers would have used, which way would the Wald ratio be biased as an estimate of the compliers' gain?
Upwards. Assignment would raise always-takers' earnings without changing their \(W_i\), adding to \(ITT_Y\), and the Wald ratio divides that addition by the first stage and attributes it to compliers.
12. Three questions about this application
Eligible applicants were randomly assigned to a program group that could enrol in Job Corps or a control group barred from it for three years. The randomised assignment is the instrument for training; in the extract used here it raises the first-year training rate from 51% to 85%.
For precision, and when assignment probabilities differ across groups, to use the independence that holds within them. In the Job Corps extract women had a higher chance of assignment and earn less, so the unadjusted estimate is $47 a week; adding a dummy for women gives $62, a weighted average of the LATEs for men and women.
Not quite. The treatment here is any education or training in the first year. Job Corps also provides housing, health care and job placement, and may change the kind of training people receive, so the estimate is best read as the effect of training as delivered through Job Corps for those it moved into training.
13. Where next
- Part 5, section 5, for the proof that IV with group dummies is a non-negatively weighted average of LATEs.
- Part 6: vitamin A and child mortality, the medical application.
- The series home, with a summary table of all seven parts.
References
- Angrist, J. D., Imbens, G. W. and Rubin, D. B. (1996). Identification of causal effects using instrumental variables. Journal of the American Statistical Association, 91(434), 444 to 455.
- Bodory, H., Huber, M. and Kueck, J.
causalweight: estimation methods for causal inference based on inverse probability weighting and doubly robust estimation. R package, version 1.1.6, data setJC(MIT licence). - Imbens, G. W. and Angrist, J. D. (1994). Identification and estimation of local average treatment effects. Econometrica, 62(2), 467 to 475.
- Schochet, P. Z., Burghardt, J. and Glazerman, S. (2001). National Job Corps Study: The Impacts of Job Corps on Participants' Employment and Related Outcomes. Mathematica Policy Research, Princeton, NJ.
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
Data. National Job Corps Study (Schochet, Burghardt and Glazerman, 2001), extract JC from the R package causalweight (MIT licence); variables reproduced at job-corps-jc.csv with its licence and description. 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.
