Estimate the jump using local linear regression on each side of the cutoff.
Fit a separate linear regression in X on each side, using only observations within a bandwidth h of the cutoff:
Yi = α + τDi + β1(Xi − c) + β2Di(Xi − c) + ui
τ̂ is the estimated jump at the cutoff. The interaction term Di(Xi − c) allows the slope to differ on each side.
Why local linear, not local constant (kernel regression)? Local linear regression has better boundary properties. It does not inherit the bias that kernel estimators have at the edge of their support, and the cutoff is always a boundary point.
Higher-order polynomials (cubic, quartic) are sometimes used to capture curvature, but Gelman and Imbens (2019) warn that global high-order polynomials can badly overfit near the cutoff and produce misleading estimates.