Skip to content
ML Academy

Statistics, experimentation, causal reasoning · insight-1018

Fit regression discontinuity locally and show how the estimate moves with the bandwidth

Evidence type
documented fact
Difficulty
medium
Roles
Data scientist
Industries
aviation, banking, public-sector

Summary: situation, action, reason, boundary

  1. Situation

    A global fourth-degree polynomial in loyalty points gives a significant jump at the cutoff, while the fitted curve swings wildly at the edges.

  2. Action

    Fit local linear or quadratic models in a window around the cutoff, plot binned means with the fitted lines, and report estimates for several bandwidths. State whether the conclusion changes across them.

  3. Reason

    High-order polynomials of the running variable give heavy weight to distant points, and estimators based on them can mislead.

  4. Boundary

    Any regression discontinuity analysis with a continuous running variable.

Symptom or risk

Observations far from the threshold drive the fit, so the jump can be an artefact of the polynomial shape and can be significant by chance.

Exceptions

Very few observations near the cutoff, where a wider window is unavoidable and the weakness must be stated.

Trade-offs

Narrow windows have less data and wider intervals; wide windows have more bias risk.

Pitfalls

Choosing the bandwidth that gives the best p-value.

Lessons and concepts

Claims and their sources