Is there a jump at a threshold? (regression discontinuity)
In brief
Sometimes a threshold decides who gets a measure: whoever passes a score passes, whoever has the majority of votes wins. Cases just left and just right of the threshold otherwise hardly differ. If the outcome jumps exactly at the threshold, that points to an effect of the measure (regression discontinuity). Statable fits a line (or parabola) on each side, optionally weights near cases more, and shows the jump at the threshold.
When do I use it?
When treatment starts for sure at a threshold of an assignment variable (sharp design) and there are enough cases near the threshold. Whether only some are treated above the threshold (fuzzy design) is not calculated by Statable.
How it works in Statable
- Run a regression (outcome from assignment variable), then open the block "Is there a jump at a threshold? (regression discontinuity)" at "Calculate differently" (Ctrl+K: "regression discontinuity").
- Choose the outcome and the assignment variable, enter the threshold, check the bandwidths (a suggestion is there already), choose order and weights, "Calculate jump". The table shows the jump for each bandwidth with classical and robust standard error. The script for R can be saved.
An example
US Senate elections (1297 elections, example "US Senate elections 1914 to 2010"): whoever wins with a margin of more than 0 percentage points gets the seat. The vote share at the next election for the same seat is compared. With bandwidth 10 (451 elections, line, triangular weights) it jumps at the threshold by 7.98 percentage points (standard error 1.53; robust 1.84, p < .001), with bandwidth 20 (735 elections) by 7.27 (standard error 1.18; robust 1.38). With a parabola and bandwidth 20 the result is 8.16 (robust 1.96), with equal weights and bandwidth 10 it is 6.90 (robust 1.75). The jump is clear and of similar size in every calculation.
Limits
- The jump holds only for cases right at the threshold. It points to an effect only if nobody could push the assignment variable just above the threshold on purpose and nothing else starts at the same threshold.
- Statable does not choose the bandwidth automatically and does not correct bias (as the R package rdrobust does); that is why several bandwidths are shown side by side. If the jump stays, that is a good sign.
- The standard errors hold for larger samples; they are robust to unequal spread (HC1).
Sources
Cattaneo, M. D., Idrobo, N. & Titiunik, R. A Practical Introduction to Regression Discontinuity Designs: Foundations (Cambridge Elements, open access). Cunningham, S. Causal Inference: The Mixtape, chapter Regression Discontinuity (mixtape.scunning.com, open access).