经济学 · 第 4 册 · 本科二年级

University Economics — Year 2

本书暂未推出简体中文版。现有版本:English。

University Economics — Year 2 · 本科二年级

33Causality and the Experimental Ideal

Regression measures associations. An effect is a different object: what would have happened to the same people under a different choice. This chapter defines effects in terms of outcomes that cannot all be observed, shows why comparing those who were treated with those who were not usually measures something else, and shows what assigning the treatment at random buys. The chart shows the result of one such experiment, a training programme for men with weak work histories.

Mean earnings in 1978 of men assigned at random to a training programme or to a control group, with 95 per cent confidence intervals, dollars.
Mean earnings in 1978 of men assigned at random to a training programme or to a control group, with 95 per cent confidence intervals, dollars. Source: National Supported Work sample of LaLonde (1986), subsample of Dehejia and Wahba (1999); our computation

The trained men earned 6,349 dollars on average in 1978 and the control men 4,555: a difference of 1,794 dollars. Because a lottery decided who was trained, the two groups were alike in everything but the training, and the difference measures its effect. The same trained men compared with men from a general survey would seem to have lost 8,498 dollars.

You already know

From the Year 1 volume: random samples, the difference of two means and its standard error, the omitted variable. From Chapter 30: the omitted-variable bias formula. From Chapter 31: robust standard errors.

33.1 Potential outcomes

Definition 33.1 (Potential outcome)

The potential outcomes of unit ii are Yi(1)Y_i(1), the outcome it would have if treated, and Yi(0)Y_i(0), the outcome it would have if not. Only one of them is observed: Yi=DiYi(1)+(1−Di)Yi(0)Y_i = D_iY_i(1) + (1 - D_i)Y_i(0), where DiD_i is 1 if ii is treated.

Definition 33.2 (Treatment effect)

The treatment effect on unit ii is Yi(1)−Yi(0)Y_i(1) - Y_i(0). It is never observed, since no unit is both treated and untreated at the same time.

Definition 33.3 (Stable unit treatment value assumption)

The stable unit treatment value assumption states that each unit’s potential outcomes depend only on its own treatment, not on who else is treated, and that there is one version of the treatment.

The assumption fails when treated workers compete with untreated ones for the same jobs, or when vaccinated people protect unvaccinated ones; the effects defined above then depend on how many are treated.

33.2 Average effects

Definition 33.4 (Average treatment effect)

The average treatment effect is ATE=E[Yi(1)−Yi(0)]\mathit{ATE} = E[Y_i(1) - Y_i(0)], the mean effect over the whole population.

Definition 33.5 (Average treatment effect on the treated)

The average treatment effect on the treated is ATT=E[Yi(1)−Yi(0)∣Di=1]\mathit{ATT} = E[Y_i(1) - Y_i(0) \mid D_i = 1], the mean effect among those who were treated.

The two differ when effects differ across people and the treated are not a random part of the population: if those who gain most from training are the ones who take it, the ATT exceeds the ATE. Which one matters depends on the question: the ATT for judging a voluntary programme as it runs, the ATE for making it compulsory.

33.3 Selection bias

Definition 33.6 (Selection bias)

Selection bias is the difference E[Yi(0)∣Di=1]−E[Yi(0)∣Di=0]E[Y_i(0) \mid D_i = 1] - E[Y_i(0) \mid D_i = 0] between the untreated outcomes of the treated and of the untreated.

Proposition 33.7 (The selection-bias decomposition)

The difference in mean observed outcomes between treated and untreated units equals the ATT plus selection bias:

E[Yi∣Di=1]−E[Yi∣Di=0]=ATT+(E[Yi(0)∣Di=1]−E[Yi(0)∣Di=0]).E[Y_i \mid D_i = 1] - E[Y_i \mid D_i = 0] = \mathit{ATT} + \bigl(E[Y_i(0) \mid D_i = 1] - E[Y_i(0) \mid D_i = 0]\bigr).

Proof. For the treated Yi=Yi(1)Y_i = Y_i(1) and for the untreated Yi=Yi(0)Y_i = Y_i(0), so the left side is E[Yi(1)∣Di=1]−E[Yi(0)∣Di=0]E[Y_i(1) \mid D_i = 1] - E[Y_i(0) \mid D_i = 0]. Add and subtract E[Yi(0)∣Di=1]E[Y_i(0) \mid D_i = 1]: the first two terms give E[Yi(1)−Yi(0)∣Di=1]=ATTE[Y_i(1) - Y_i(0) \mid D_i = 1] = \mathit{ATT}, the last two the selection bias. ∎

The identity also holds exactly in any sample, with sample means in place of expectations. The listing builds both potential outcomes for 10,000 simulated workers, lets the less skilled take the training, and checks it.

"""Simulated potential outcomes: difference in means = ATT + selection bias, exactly."""

import numpy as np

rng = np.random.default_rng(33)
n = 10_000
skill = rng.standard_normal(n)
y0 = 10 + 2 * skill + rng.standard_normal(n)  # earnings without training
y1 = (
    y0 + 1.0 - 0.5 * skill + 0.5 * rng.standard_normal(n)
)  # larger for the less skilled
treated = skill + rng.standard_normal(n) < 0  # the less skilled take the training

observed = np.where(treated, y1, y0)
diff = observed[treated].mean() - observed[~treated].mean()
att = (y1 - y0)[treated].mean()
bias = y0[treated].mean() - y0[~treated].mean()
print(f"ATE {(y1 - y0).mean():.3f}, ATT {att:.3f}")
print(f"difference in observed means {diff:.3f}")
print(f"ATT + selection bias {att:.3f} + ({bias:.3f}) = {att + bias:.3f}")

random = rng.random(n) < 0.5  # the same people, assigned at random
observed = np.where(random, y1, y0)
print(
    f"with random assignment: {observed[random].mean() - observed[~random].mean():.3f}"
)
Listing 33.1. Simulated potential outcomes: self-selection into training, then random assignment. code/bachelor-2/33-causality-and-experiments/listings/selection_sim.py
$ python selection_sim.py
ATE 1.001, ATT 1.284
difference in observed means -0.937
ATT + selection bias 1.284 + (-2.221) = -0.937
with random assignment: 1.051
Output 33.1. Training raises earnings, yet the trained earn less: selection bias outweighs the effect. Random assignment recovers it.

The training raises earnings by 1.001 on average, and by 1.284 among those who take it, since its effect is larger for the less skilled. But those who take it would have earned 2.221 less without it, so the trained earn 0.937 less than the others. Assigning the same training at random gives a difference of 1.051, close to the ATE.

33.4 What randomisation buys

Definition 33.8 (Randomised controlled trial)

A randomised controlled trial assigns the treatment by a random device, so that DiD_i is independent of the potential outcomes (Yi(0),Yi(1))(Y_i(0), Y_i(1)).

With independence, E[Yi(0)∣Di=1]=E[Yi(0)∣Di=0]E[Y_i(0) \mid D_i = 1] = E[Y_i(0) \mid D_i = 0]: the selection bias is zero, and the ATT equals the ATE. The difference in means is then an unbiased estimate of the ATE, and its standard error is that of a difference of two independent means.

On the record — The National Supported Work demonstration

In the 1970s an American employment and training programme was run as a field experiment: applicants were assigned at random to the programme or to a control group. LaLonde (1986) took the men in the experiment and asked whether the non-experimental methods then common in programme evaluation, applied to the treated men and to comparison samples drawn from two general surveys, would reproduce the experimental estimate. Many did not. The listings use the subsample of 185 treated and 260 control men distributed by Dehejia and Wahba (1999).

"""The NSW experiment: the difference in mean 1978 earnings and its standard error."""

import numpy as np
import statsmodels.formula.api as smf
from econdata import nsw

d = nsw("nsw_dw")  # 185 men assigned to training, 260 to control
t, c = d[d.treat == 1].re78, d[d.treat == 0].re78
diff = t.mean() - c.mean()
se = np.sqrt(t.var() / len(t) + c.var() / len(c))
print(f"treated {t.mean():8.1f} (n = {len(t)}), control {c.mean():8.1f} (n = {len(c)})")
print(f"difference {diff:.1f}, s.e. {se:.1f}")
print(f"95 % interval {diff - 1.96 * se:.1f} to {diff + 1.96 * se:.1f}")

fit = smf.ols("re78 ~ treat", d).fit(cov_type="HC1")
print(f"regression on treat: {fit.params.treat:.1f} (robust s.e. {fit.bse.treat:.1f})")
Listing 33.2. The experimental estimate: a difference in means, and the same by regression. code/bachelor-2/33-causality-and-experiments/listings/nsw_experiment.py
$ python nsw_experiment.py
treated   6349.1 (n = 185), control   4554.8 (n = 260)
difference 1794.3, s.e. 671.0
95 % interval 479.2 to 3109.5
regression on treat: 1794.3 (robust s.e. 670.8)
Output 33.2. An effect of 1,794 dollars, with an interval from 479 to 3,110.

Definition 33.9 (Covariate balance)

Treated and control groups show covariate balance when the distributions of variables fixed before treatment are the same in both; randomisation makes them equal in expectation.

A balance table compares the groups on what was measured before assignment. It cannot check what was not measured, but it can catch a randomisation that went wrong.

"""Covariate balance: pre-treatment means of the treated and control men."""

import numpy as np
from econdata import nsw

d = nsw("nsw_dw")
cols = ["age", "education", "black", "hispanic", "married", "nodegree", "re74", "re75"]
print("variable     treated   control   difference      t")
for col in cols:
    t, c = d[d.treat == 1][col], d[d.treat == 0][col]
    se = np.sqrt(t.var() / len(t) + c.var() / len(c))
    diff = t.mean() - c.mean()
    print(f"{col:10s} {t.mean():9.2f} {c.mean():9.2f} {diff:12.2f} {diff / se:6.2f}")
Listing 33.3. Pre-treatment means by group, with the tt statistic of each difference. code/bachelor-2/33-causality-and-experiments/listings/balance.py
$ python balance.py
variable     treated   control   difference      t
age            25.82     25.05         0.76   1.11
education      10.35     10.09         0.26   1.44
black           0.84      0.83         0.02   0.46
hispanic        0.06      0.11        -0.05  -1.86
married         0.19      0.15         0.04   0.97
nodegree        0.71      0.83        -0.13  -3.11
re74         2095.57   2107.03       -11.45  -0.02
re75         1532.05   1266.91       265.15   0.87
Output 33.3. Seven of eight differences are small; the share without a high-school diploma differs.

One difference of eight is significant at 5 per cent: 71 per cent of the trained men have no diploma, against 83 per cent of the controls. With eight independent comparisons, the chance of at least one such difference is 1−0.958=0.341 - 0.95^8 = 0.34 even when the randomisation is perfect.

33.5 Regression as adjustment

Definition 33.10 (Conditional independence assumption)

The conditional independence assumption states that, among units with the same observed characteristics XiX_i, treatment is independent of the potential outcomes: (Yi(0),Yi(1))(Y_i(0), Y_i(1)) is independent of DiD_i given XiX_i.

In an experiment, adding pre-treatment controls to the regression changes the estimate only by chance and can make it more precise. In an observational comparison, controls are the only defence, and they work only if the conditional independence assumption holds: if, given the controls, nothing that affects earnings also affects who is treated.

"""The treated men against the CPS comparison sample: a naive 'effect'."""

import pandas as pd
import statsmodels.formula.api as smf
from econdata import nsw

treated = nsw("nsw_dw").query("treat == 1")
others = nsw("cps_controls")  # treat = 0 for all of them
d = pd.concat([treated, others])

fit = smf.ols("re78 ~ treat", d).fit(cov_type="HC1")
print(f"men: {len(treated)} trained, {len(others)} in the survey")
print(f"naive difference {fit.params.treat:.1f} (s.e. {fit.bse.treat:.1f})")
for col in ["age", "education", "married", "re75"]:
    a, b = treated[col].mean(), others[col].mean()
    print(f"mean {col:9s} trained {a:9.2f}, survey {b:9.2f}")
Listing 33.4. The trained men against men from a general survey. code/bachelor-2/33-causality-and-experiments/listings/naive_cps.py
$ python naive_cps.py
men: 185 trained, 15992 in the survey
naive difference -8497.5 (s.e. 581.9)
mean age       trained     25.82, survey     33.23
mean education trained     10.35, survey     12.03
mean married   trained      0.19, survey      0.71
mean re75      trained   1532.05, survey  13650.81
Output 33.4. The survey men are older, better educated, more often married, and earned nine times as much in 1975.
"""Adding pre-treatment controls: in the experiment, and in the survey comparison."""

import pandas as pd
import statsmodels.formula.api as smf
from econdata import nsw

controls = (
    "age + I(age**2) + education + black + hispanic + married + nodegree + re74 + re75"
)
exp = nsw("nsw_dw")
obs = pd.concat([exp.query("treat == 1"), nsw("cps_controls")])

for name, d in (("experiment", exp), ("survey comparison", obs)):
    raw = smf.ols("re78 ~ treat", d).fit(cov_type="HC1")
    adj = smf.ols("re78 ~ treat + " + controls, d).fit(cov_type="HC1")
    print(f"{name:18s} raw {raw.params.treat:9.1f} ({raw.bse.treat:5.1f})"
          f"   adjusted {adj.params.treat:8.1f} ({adj.bse.treat:5.1f})")  # fmt: skip
Listing 33.5. The same controls, in the experiment and in the survey comparison. code/bachelor-2/33-causality-and-experiments/listings/regression_adjust.py
$ python regression_adjust.py
experiment         raw    1794.3 (670.8)   adjusted   1675.9 (676.9)
survey comparison  raw   -8497.5 (581.9)   adjusted    793.6 (618.6)
Output 33.5. In the experiment the controls barely move the estimate; in the survey comparison they move it by 9,291 dollars and still miss.

In the experiment the estimate goes from 1,794 to 1,676 dollars with controls. In the survey comparison it goes from −8,498-8{,}498 to 794: the controls remove most of the gap, and the estimate is still less than half the experimental one, with an interval (from about −420-420 to 2,0002{,}000) wide enough to include zero. The men who enter a training programme differ from the general population in ways that age, schooling and past earnings capture only in part. Matching on these variables, and the other methods that refine this comparison, are the subject of the Year 3 volume.

33.6 Classic experiments

On the record — Tennessee’s class-size experiment

In Tennessee’s Project STAR, about 11,600 pupils and their teachers were assigned at random to classes of different sizes from kindergarten to third grade. Krueger (1999), adjusting for pupils who left the experiment or changed class, found that test scores rose by about four percentile points in the first year in a small class, and that the advantage grew by about one percentile point a year after that. Teacher aides and measured teacher characteristics had little effect; the effect of small classes was larger for minority pupils and those eligible for free lunch; and the gains were unlikely to come merely from being observed.

33.7 Whether a result travels

Definition 33.11 (External validity)

A result has external validity if it holds for populations, places, times or versions of the treatment other than those of the study; internal validity is whether it holds for the study’s own population.

An experiment secures internal validity. It says nothing by itself about other places: the men of the NSW sample were a particular group in a particular decade, and the effect of training on them need not be the effect on others. Where the experiment is done is itself chosen, and the choice can be related to the result.

On the record — Results that did not travel

Allcott (2015) studied 111 randomised trials of the same programme, letters comparing a household’s energy use with its neighbours’, run by American utilities with 8.6 million households in all. Predictions based on the first 10 trials substantially overstated the programme’s effect in the next 101. The first utilities to adopt it served more environmentally minded areas, whose customers responded more, and utilities first targeted their heaviest users. Each trial was internally valid; the sequence was not a random sample of sites.

33.8 The idea of a natural experiment

Definition 33.12 (Natural experiment)

A natural experiment is a situation in which a rule, an accident or a policy, not designed for research, assigns a treatment in a way that is as good as random for some group, so that comparisons within that group estimate a causal effect.

Many questions cannot be settled by an experiment: nobody assigns schooling, minimum wages or interest rates by lottery. The Year 3 volume studies the designs that use natural experiments: instruments that shift the treatment without affecting the outcome directly, comparisons of changes over time between groups exposed and not exposed to a policy, and comparisons of units just above and just below a threshold that decides treatment. Each replaces randomisation by an assumption, and each assumption can be argued about with evidence.

Model — Potential-outcomes model

Assumes. Each unit has two potential outcomes; only one is observed; a unit’s outcomes do not depend on others’ treatment.

Predicts. A difference in means equals the effect on the treated plus selection bias; under random assignment the selection bias is zero.

Tested. Experimental and non-experimental estimates on the same treated group can be compared: LaLonde (1986) found that many non-experimental estimates of the NSW programme’s effect missed the experimental one; here a regression on survey men gives 794 dollars against 1,794.

Breaks. Interference between units (displacement in a job market) makes effects depend on the scale of treatment; and an experiment’s effect need not carry to other sites, as Allcott (2015) found.

33.9 Exercises

Exercise 33.1 ★

Read the opening chart. Give each group’s mean and interval, and the difference. Do the intervals overlap?

Solution

Solution of Exercise 33.1.

Control 4,555 dollars (3,888 to 5,221); trained 6,349 (5,215 to 7,483); difference 1,794. The intervals overlap, by six dollars, yet the difference is significant (Exercise 5): overlapping intervals for two means do not imply that their difference is insignificant, since the interval of a difference is narrower than the sum of the two half-widths.

Exercise 33.2 ★

For a hospital, give an example in which the treated have worse untreated outcomes than the untreated. What sign does the selection bias have, and what does a raw comparison suggest about the hospital?

Solution

Solution of Exercise 33.2.

The patients who go to hospital are sicker than those who stay home: their health without the hospital, Y(0)Y(0), is worse. The selection bias is negative, and a raw comparison of the health of patients and non-patients can make the hospital look harmful even if it helps.

Exercise 33.3 ★

In the balance table, the share without a diploma differs significantly between the groups. Does this show that the randomisation failed? What would you do?

Solution

Solution of Exercise 33.3.

Not by itself: with eight comparisons the chance of at least one significant difference is 0.34 under perfect randomisation. Check how the randomisation was done, report the table, and show the estimate with the diploma (and the other pre-treatment variables) as controls: 1,676 dollars, close to 1,794.

Exercise 33.4 ★

A training programme in one town reduces unemployment among participants. Give a reason why making it compulsory in the whole country might have a smaller effect per participant.

Solution

Solution of Exercise 33.4.

Participants may find jobs partly by taking them from non-participants, an effect the local comparison does not see (a failure of the stable unit treatment value assumption); and the volunteers of one town may gain more than the population at large.

Exercise 33.5 ★★

From the listing’s output, compute the 95 per cent interval of the experimental estimate from the difference and its standard error. Is a zero effect inside it?

Solution

Solution of Exercise 33.5.

1,794.3±1.96×671.01{,}794.3 \pm 1.96 \times 671.0: from 479 to 3,110 dollars. Zero is outside it.

Exercise 33.6 ★★

In the selection listing, which number is the ATE, which the ATT, and why do they differ? Predict what happens to the selection bias if the more skilled take the training instead.

Solution

Solution of Exercise 33.6.

ATE 1.001, ATT 1.284. The effect is 1−0.5×skill1 - 0.5 \times \mathit{skill} plus noise, and those who take the training have low skill, so their mean effect is higher. If the more skilled took it, their untreated earnings would be higher than the others’: the selection bias would be positive and the raw difference would overstate the effect, while the ATT would fall below the ATE.

Exercise 33.7 ★★

(D) With the NSW and CPS samples, repeat the survey comparison restricting the survey men to those with 1975 earnings below 5,000 dollars. What happens to the raw and the adjusted estimates? Why?

Solution

Solution of Exercise 33.7.

4,231 survey men earned less than 5,000 dollars in 1975. The raw difference becomes 127 dollars (s.e. 588) and the adjusted one 1,193 (s.e. 654). The cut trims only the comparison group: it drops survey men with 1975 earnings above those of almost all trainees, and keeps the 20 trainees above 5,000 dollars. That makes the comparison group more like the trained men, so the controls have less to do; the estimate moves toward the experimental 1,794, without reaching it.

Exercise 33.8 ★★

Why do controls in the experiment move the estimate only from 1,794 to 1,676, while in the survey comparison they move it by more than 9,000?

Solution

Solution of Exercise 33.8.

In the experiment the controls are independent of treatment, so they change the estimate only through chance imbalances such as the diploma. In the survey comparison the groups differ enormously in age, schooling, marriage and past earnings, which also predict 1978 earnings: the omitted-variable bias is large, and the controls remove most of it.

Exercise 33.9 ★★

A school district reports that pupils who chose a new reading programme scored higher than those who did not. List three reasons why this might not be the programme’s effect, and design an experiment that would settle it.

Solution

Solution of Exercise 33.9.

Pupils who chose the programme may be more motivated; their parents may be more involved; their schools may have more resources. An experiment: among pupils (or classes, to avoid spillovers) whose parents agree to take part, draw by lottery who gets the programme, and compare scores after a year, with standard errors clustered by class if classes are drawn.

Exercise 33.10 ★★★

Show that under random assignment the difference in sample means is an unbiased estimator of the ATE, and derive its variance.

Solution

Solution of Exercise 33.10.

Under random assignment of n1n_1 of nn units, each unit is treated with probability n1/nn_1/n, so E[Yˉ1]=E[Y(1)]E[\bar Y_1] = E[Y(1)] and E[Yˉ0]=E[Y(0)]E[\bar Y_0] = E[Y(0)]; the difference has expectation E[Y(1)−Y(0)]=ATEE[Y(1) - Y(0)] = \mathit{ATE}. With independent draws from a large population, Var⁡(Yˉ1−Yˉ0)=σ12/n1+σ02/n0\operatorname{Var}(\bar Y_1 - \bar Y_0) = \sigma_1^2/n_1 + \sigma_0^2/n_0, where σd2\sigma_d^2 is the variance of Y(d)Y(d); it is estimated by the sample variances, as in the listing.

Exercise 33.11 ★★★

Write the difference in means as ATE plus selection bias plus a third term, and interpret the third term.

Solution

Solution of Exercise 33.11.

Difference =ATE+selection bias+(1−p)(ATT−ATU)= \mathit{ATE} + \text{selection bias} + (1 - p)(\mathit{ATT} - \mathit{ATU}), with pp the share treated and ATU\mathit{ATU} the effect on the untreated: since ATE=p ATT+(1−p)ATU\mathit{ATE} = p\,\mathit{ATT} + (1 - p)\mathit{ATU}, ATT=ATE+(1−p)(ATT−ATU)\mathit{ATT} = \mathit{ATE} + (1 - p)(\mathit{ATT} - \mathit{ATU}). The third term is the bias from heterogeneous effects: if those who are treated gain more than those who are not, the difference overstates the ATE even without selection on Y(0)Y(0).

Exercise 33.12 ★★★

Under the conditional independence assumption with a discrete XX, show that the ATE equals ∑xP(Xi=x)(E[Yi∣Di=1,Xi=x]−E[Yi∣Di=0,Xi=x])\sum_xP(X_i = x)\bigl(E[Y_i \mid D_i = 1, X_i = x] - E[Y_i \mid D_i = 0, X_i = x]\bigr).

Solution

Solution of Exercise 33.12.

Given Xi=xX_i = x, treatment is independent of (Y(0),Y(1))(Y(0), Y(1)), so E[Y∣D=1,X=x]=E[Y(1)∣X=x]E[Y \mid D = 1, X = x] = E[Y(1) \mid X = x] and E[Y∣D=0,X=x]=E[Y(0)∣X=x]E[Y \mid D = 0, X = x] = E[Y(0) \mid X = x]. Their difference is the effect for units with X=xX = x. Averaging over the distribution of XX gives E[Y(1)−Y(0)]=ATEE[Y(1) - Y(0)] = \mathit{ATE} by the law of iterated expectations.

33.10 Problem: Brenland’s training-voucher pilot

Problem 33.1

Weekend problem — Brenland’s training-voucher pilot: potential outcomes, the estimate and its interval, a non-random roll-out, and the sample size for a given power

Brenland’s labour ministry gives training vouchers to workers in a pilot of 800. In the simulation that stands for the pilot (seeded, in the chapter’s code), each worker has an unobserved drive mim_i, standard normal; earnings without a voucher are Yi(0)=24,000+3,000mi+4,000εiY_i(0) = 24{,}000 + 3{,}000m_i + 4{,}000\varepsilon_i dalens a year, with εi\varepsilon_i standard normal; and the voucher raises earnings by 1,500+500mi1{,}500 + 500m_i.

Part I — Potential outcomes.

  1. Write Yi(1)Y_i(1).
  2. What is the ATE in the population model?
  3. Which workers gain most from a voucher?
  4. What is the ATE among the 800 simulated workers?
  5. Why can the ministry never observe a worker’s own effect?
  6. Give an example of how the stable unit treatment value assumption could fail here.

Part II — The estimate and its interval. Half of the 800, drawn at random, get a voucher.

  1. Give the difference in mean earnings.
  2. Give its standard error and 95 per cent interval.
  3. Does the interval contain the true ATE?
  4. Why is the estimate not exactly the ATE?
  5. Why is the ATT equal to the ATE in expectation here?
  6. What would adding pre-treatment earnings as a control do?

Part III — A non-random roll-out. Instead, workers apply, and those with mi+ηi>0m_i + \eta_i > 0, ηi\eta_i standard normal, get a voucher.

  1. What share applies?
  2. Give the difference in mean earnings between voucher holders and others.
  3. Give the ATT among applicants.
  4. Give the selection bias, and check the decomposition.
  5. Why is the ATT larger than the ATE?
  6. Could controlling for education remove the bias? Under what condition?

Part IV — The sample size for a given power.

  1. The ministry wants to detect an effect of 1,500 dalens with 80 per cent power at the 5 per cent level. Write the number per arm, n=2(z0.025+z0.2)2σ2/δ2n = 2(z_{0.025} + z_{0.2})^2\sigma^2/\delta^2.
  2. With σ=5,000\sigma = 5{,}000, how many workers per arm?
  3. With the standard deviation of control earnings in the pilot, how many?
  4. To detect 750 dalens, with σ=5,000\sigma = 5{,}000, how many?
  5. Why does halving the effect quadruple the sample?
  6. Was the pilot of 800 large enough?
  7. State the result: the ATE estimate with its interval, the naive bias of the roll-out, and the sample size for 80 per cent power.
Solution

Solution of Problem 33.1.

Part I. 1. Yi(1)=25,500+3,500mi+4,000εiY_i(1) = 25{,}500 + 3{,}500m_i + 4{,}000\varepsilon_i. 2. 1,500 dalens, since E[mi]=0E[m_i] = 0. 3. Those with more drive. 4. 1,499 dalens. 5. Each worker is observed either with or without a voucher, never both. 6. Trained workers may take jobs that untrained ones would have had; vouchers given to many may raise the price of courses. Part II. 7. 1,100 dalens. 8. 362; from 389 to 1,810. 9. Yes: 1,499 is inside it. 10. Which workers got a voucher was drawn at random; another draw would give another estimate. The standard error measures that spread. 11. Random assignment makes voucher holders a random half of the 800, so their mean effect equals the mean effect of all. 12. Leave the expected estimate unchanged and, since earlier earnings predict later earnings, shrink the standard error. Part III. 13. 51 per cent. 14. 5,272 dalens. 15. 1,782 dalens. 16. 3,491 dalens: applicants have more drive, so they would have earned more anyway; 1,781.6+3,490.7=5,272.31{,}781.6 + 3{,}490.7 = 5{,}272.3. 17. The effect rises with drive, and applicants have more of it. 18. Only if, among workers with the same education, applying were unrelated to drive: the conditional independence assumption. Since drive is not measured, there is no reason to believe it. Part IV. 19. z0.025=1.96z_{0.025} = 1.96, z0.2=0.84z_{0.2} = 0.84: n=2×2.802σ2/δ2=15.7σ2/δ2n = 2 \times 2.80^2\sigma^2/\delta^2 = 15.7\sigma^2/\delta^2. 20. 15.7×5,0002/1,5002=174.415.7 \times 5{,}000^2/1{,}500^2 = 174.4: 175 per arm. 21. With σ=5,217\sigma = 5{,}217: 190 per arm. 22. With σ=5,000\sigma = 5{,}000: 15.7×5,0002/7502=69815.7 \times 5{,}000^2/750^2 = 698 per arm. 23. nn is proportional to 1/δ21/\delta^2. 24. Yes: with 400 per arm the power to detect 1,500 dalens is 0.98. 25. The pilot’s estimate of the voucher’s effect is 1,100 dalens a year (95 per cent interval 389 to 1,810), consistent with the true 1,499; a roll-out to applicants would have shown 5,272, a bias of 3,491; 190 workers per arm suffice for 80 per cent power against an effect of 1,500.

本章定义的术语

在术语表中查看全部 1086 个术语