Tutorials › Propensity Score Matching and Instrumental Variables › Lottery-Based Natural Experiments

Regression Discontinuity and Natural Experiments · Tutorial 611 of 699

Lottery-Based Natural Experiments

Use a lottery’s assignment mechanism to define the population and contrast, then distinguish the causal effect of an offer from the effect of receiving the opportunity.

Advanced 12 min read

What You'll Learn

  • Define the lottery population before interpreting an estimate.
  • Distinguish an offer of an opportunity from receipt of that opportunity.
  • Calculate an intention-to-treat effect and a first-stage difference.
  • State the assumptions needed to interpret a Wald ratio as a complier effect.
  • Diagnose stratified assignment, weak take-up differences, and selection after the lottery.
  • Explain why lottery effects may not generalize beyond the people who entered the lottery.

What a Lottery Randomizes

When a scarce opportunity is allocated by lottery, the random draw can create a credible comparison between people offered the opportunity and people not offered it. The first task is not to calculate an effect. It is to specify who was eligible for the draw, what the draw assigned, and what outcome is being compared. Those choices determine the population and treatment contrast that an estimate can support.

A lottery generally randomizes an offer or assignment, not whether a person ultimately receives or uses the opportunity. Someone offered a program may decline; someone not offered a place may obtain similar services elsewhere. This distinction is central: randomization directly identifies the effect of the offer, while the effect of actual receipt requires additional assumptions.

Definition: Let \(Z=1\) indicate that an eligible person is offered the opportunity by the lottery, and \(Z=0\) indicate no offer. Let \(D=1\) indicate that the person receives the treatment of interest, and \(D=0\) indicate that they do not. Let \(Y\) be the outcome. The lottery population is the defined set of people eligible for and included in the lottery assignment. The treatment contrast must state whether it compares offers (\(Z=1\) versus \(Z=0\)) or receipt (\(D=1\) versus \(D=0\)).

For example, if a city draws from qualified applicants for a limited number of training places, the lottery population is those qualified applicants who entered that draw—not all city residents, all job seekers, or necessarily everyone who could have qualified. If the assignment is an offer of a place, that is the randomized contrast even if some offer recipients do not attend.

Effects of the Offer and of Receipt

Write \(Y(1)\) and \(Y(0)\) for a person's potential outcomes under, respectively, being offered or not being offered the opportunity. With random assignment, the average difference in observed outcomes by lottery assignment estimates the intention-to-treat effect (ITT) in the lottery population:

$$ \text{ITT}=E[Y\mid Z=1]-E[Y\mid Z=0]. $$

This is the effect of being offered the opportunity, including whatever happens after the offer: acceptance, refusal, alternative services, and any consequences of receiving or not receiving an offer. It does not automatically equal the effect of treatment receipt.

To describe receipt, define \(D(1)\) and \(D(0)\) as the treatment a person would receive under an offer and under no offer. The lottery’s first stage is the effect of assignment on receipt:

$$ \text{First stage}=E[D\mid Z=1]-E[D\mid Z=0]. $$

If the offer affects outcomes only by changing treatment receipt, if nobody is made less likely to receive treatment by being offered it, and if the offer changes receipt for some people, the Wald ratio identifies the average treatment effect for compliers—people whose receipt is changed by the offer. This is a local effect for that group, not necessarily an average effect for every lottery entrant.

Assumptions for a complier-effect interpretation: (1) Random assignment: within the lottery’s actual assignment rules, \(Z\) is independent of potential outcomes and potential receipt. (2) Relevance: the offer changes the probability of receiving treatment. (3) Exclusion: the offer affects the outcome only through treatment receipt. (4) Monotonicity: \(D(1)\geq D(0)\) for each person, so there are no people who would receive treatment only when not offered it. A well-defined treatment and no interference between people are also needed for the potential-outcome comparisons to have their usual meaning.

Why the Wald Ratio Is a Complier Effect

The derivation makes the scope of the receipt effect explicit. Under random assignment, the difference in mean outcomes by \(Z\) equals the average difference in potential outcomes under assignment. Under exclusion, assignment has no direct effect on \(Y\); it can affect \(Y\) only by changing \(D\). Under monotonicity, people fall into three relevant groups: always-takers, who receive treatment either way; never-takers, who receive it neither way; and compliers, who receive it if offered but not otherwise. There are no defiers.

For always-takers and never-takers, changing \(Z\) does not change \(D\), so exclusion implies that their assignment effect on \(Y\) is zero. Only compliers contribute to the outcome difference. Let \(P(C)\) be the proportion of compliers, and let \(E[Y(1)-Y(0)\mid C]\) be their average effect of receipt. The ITT and first stage are therefore:

$$ \text{ITT}=P(C)E[Y(1)-Y(0)\mid C], \qquad \text{First stage}=P(C). $$

The first-stage equality follows because only compliers change receipt when \(Z\) changes, and each complier changes receipt from 0 to 1. Dividing the two differences gives:

$$ \frac{E[Y\mid Z=1]-E[Y\mid Z=0]} {E[D\mid Z=1]-E[D\mid Z=0]} =E[Y(1)-Y(0)\mid C]. $$

This derivation also explains why the assumptions matter. If an offer changes outcomes directly—for example, by changing expectations or access to information even for someone who does not attend—the numerator includes more than the effect operating through receipt. If some people are defiers, the denominator is no longer simply the proportion of compliers, and the usual complier interpretation need not hold.

Worked Example: A Lottery for Health-Program Places

Hypothetical data. A clinic randomly offers a six-month health program to 100 of 200 eligible applicants. At follow-up, 72 of the 100 offered applicants received the program, compared with 22 of the 100 not offered it, who obtained access through other routes. Mean systolic blood pressure is 128 mmHg in the offer group and 132 mmHg in the no-offer group. Lower pressure is better.

Define the population and contrast. The population is these 200 eligible applicants in the lottery. The direct randomized contrast is an offer versus no offer; it is not program receipt versus no receipt.

Calculate the ITT. Subtract the no-offer mean from the offer mean:

$$ \widehat{\text{ITT}}=128-132=-4\text{ mmHg}. $$

In this hypothetical sample, being offered the program is associated with a 4 mmHg lower mean follow-up pressure. Because the offer was randomized, this difference estimates the causal effect of the offer for the lottery population, subject to the assignment and follow-up conditions. It does not by itself establish the effect of receiving the program.

Calculate the first stage and Wald ratio. The receipt rates are \(72/100=0.72\) and \(22/100=0.22\), so the first stage is \(0.72-0.22=0.50\). If exclusion, monotonicity, and the other stated assumptions are credible, the Wald estimate is:

$$ \widehat{\text{Wald}}=\frac{-4\text{ mmHg}}{0.50}=-8\text{ mmHg}. $$

The estimate is an 8 mmHg reduction in mean pressure for compliers in this lottery population. It is not automatically the effect for all applicants, all clinic patients, or everyone who could receive the program. The assumptions are substantive: in particular, one must assess whether an offer could affect blood pressure without program receipt and whether anyone would be less likely to receive the program when offered.

Lottery Rules Shape the Comparison

The word “lottery” does not guarantee that every person in the analysis had the same probability of an offer. A draw may be conducted separately within priority groups, locations, or application periods, or it may use different assignment probabilities. The analysis should reflect the actual randomization. If offers were randomized within strata, compare offer and no-offer outcomes within each stratum and combine the stratum-specific effects using weights that define the target population. A simple pooled difference can be misleading when the offer group and control group contain different proportions of strata.

The population definition also concerns timing. Define eligibility and entry using information established before the draw. Removing people after assignment because they declined, failed to attend, moved, or had an unfavorable outcome can undo the benefit of randomization. In general, retain people in their assigned groups for the offer-effect analysis and report how outcomes were observed or became missing.

Worked Example: Why a Stratified Lottery Needs a Stratified Contrast

Hypothetical data. A program holds separate lotteries for 100 high-priority and 200 standard-priority applicants. It offers places to 50 people in each stratum. Hospitalization is the outcome. Among high-priority applicants, the hospitalization rates are 0.30 for those offered and 0.40 for those not offered. Among standard-priority applicants, the rates are 0.10 and 0.16, respectively.

Calculate the stratum effects. For high-priority applicants, the offer effect is \(0.30-0.40=-0.10\), a reduction of 10 percentage points. For standard-priority applicants, it is \(0.10-0.16=-0.06\), a reduction of 6 percentage points.

Combine for the lottery population. The target population has 100/300 high-priority and 200/300 standard-priority applicants. Its weighted offer effect is:

$$ \frac{100}{300}(-0.10)+\frac{200}{300}(-0.06) =-0.07333. $$

Thus the estimated effect for the full lottery population is a 7.33 percentage-point reduction in hospitalization. A pooled, unadjusted comparison instead gives an offer-group rate of \((50(0.30)+50(0.10))/100=0.20\). The no-offer rate is \((50(0.40)+150(0.16))/200=0.22\), giving a difference of \(-0.02\). That pooled difference is not the population-weighted effect: the offer group has a different mix of priority strata from the no-offer group. The stratum-specific calculation respects the lottery’s assignment structure and the stated target population.

Diagnostics, Alternatives, and Limits

A careful analysis checks the assignment mechanism before relying on the word “random.” Confirm the eligible list, draw procedure, allocation probabilities, strata, and any changes to assignment. Baseline characteristics can be compared across assignment groups as a diagnostic, but an imbalance does not by itself prove the lottery failed, and balance does not prove that it succeeded. More direct evidence comes from records of the actual draw and from checking whether assignment was altered, manipulated, or selectively recorded.

Also report the first stage. If the offer barely changes receipt, the offer may still have a meaningful ITT, but the Wald ratio divides by a small number and can be highly imprecise. Do not interpret a large ratio as strong evidence of a large treatment effect without uncertainty estimates and a careful assessment of the first stage. Missing outcomes, treatment misclassification, treatment obtained outside the lottery, and interference between applicants can also compromise interpretation.

The main alternatives answer different questions. A comparison of people who actually received treatment with those who did not is vulnerable to differences in willingness, resources, or need, even when the offer was randomized. An adjusted observational comparison may address measured differences but relies on adequate measurement and adjustment for confounding. The randomized offer comparison avoids that particular confounding for the offer effect, while the complier effect requires the extra assumptions above. These approaches should not be treated as interchangeable estimates of one universal effect.

Worked Example: A Small First Stage and a Large Wald Estimate

Hypothetical data. In a lottery of eligible applicants, 55% of the offer group and 45% of the no-offer group receive a service. Mean annual earnings are $5,400 and $5,000, respectively.

The ITT is \(5{,}400-5{,}000=\$400\) per person. The first stage is \(0.55-0.45=0.10\), or 10 percentage points. The Wald estimate is:

$$ \widehat{\text{Wald}}=\frac{\$400}{0.10}=\$4{,}000. $$

Under the complier-effect assumptions, the point estimate is an annual earnings increase of $4,000 for compliers. But only a 10-percentage-point receipt difference separates the assignment groups, so small changes in the estimated ITT or first stage can substantially change the ratio. The point estimate alone does not show its precision: standard errors or an interval are needed to assess uncertainty. The randomized offer effect remains $400 per person, regardless of whether the additional assumptions for the receipt effect are credible.

A lottery’s strongest claim is usually local and precise: it can identify the effect of an offer for the people who entered that particular eligible draw. Generalizing to people who did not apply, different eligibility groups, other places, or other versions of the opportunity requires further evidence. Keep the population, offer contrast, receipt definition, and estimand explicit whenever reporting results.

  • Confusing the offer with receipt. The offer is randomized; participation may not be. Name the offer effect as the ITT.
  • Calling a Wald estimate an effect for everyone. Under its assumptions, it is an effect for compliers in the lottery population.
  • Ignoring the draw structure. If assignment was stratified or used varying probabilities, use an analysis that reflects those rules and the target population.
  • Conditioning on post-lottery behavior. Excluding people because they did not take up an offer can break the randomized comparison.
  • Assuming that a lottery proves every assumption. Random assignment supports the offer comparison, but exclusion, monotonicity, treatment definition, and outcome measurement still require scrutiny.
Key takeaway: First define the people in the draw and the opportunity the lottery assigned. Randomization identifies the effect of the offer; interpreting a ratio of offer effects as an effect of treatment receipt requires additional assumptions and generally targets compliers, not everyone.

Check Your Understanding

Answer each question, then compare with the brief solutions.

  1. A lottery offers a place in a training program to qualified applicants. Some offered applicants do not attend. What is the direct randomized contrast?
  2. In that lottery, receipt is 0.80 among those offered and 0.30 among those not offered. What is the first stage?
  3. The outcome ITT is \(-2\) points and the first stage is \(0.40\). Under the complier-effect assumptions, what is the Wald estimate and what does it target?
  4. Why might a pooled offer-versus-no-offer difference be misleading when a lottery was run separately by priority group?
  5. Does a randomized lottery among eligible applicants automatically identify the effect for all residents who might benefit from the program? Explain.

Solutions. (1) The contrast is an offer versus no offer; attendance is receipt and is not necessarily randomized. (2) \(0.80-0.30=0.50\), a 50-percentage-point increase in receipt. (3) \(-2/0.40=-5\) outcome points, interpreted as the average receipt effect for compliers in the lottery population if the assumptions hold. (4) The assignment groups may contain different proportions of priority groups, so a pooled comparison can mix stratum effects with differences in group composition. (5) No. The lottery directly supports an effect for the people included in that eligible draw; applying it to non-applicants or other populations requires additional generalizability assumptions.

Clinical Biostats