A kernel is a weighting function that gives observations near a target point t0 more influence than observations farther away. In regression discontinuity designs, it weights residuals during minimization so nearby points drive the local estimate. section 11.2.5
Two standard kernel choices are:
- Uniform: assigns weight 1 when |t − t0| < h and 0 otherwise. section 11.2.5
- Triangular: assigns weight 1 − |t − t0|/h within the window and 0 outside it. section 11.2.5
The bandwidth h centers and rescales the kernel. It determines which observations enter the regression: points farther than h from t0 receive zero weight. Cross-validation can compare bandwidths, while rdplot and rdrobust provide default selection methods. section 11.2.5
Local effect near a cutoff
To estimate an effect at time t0, give observations immediately before and after t0 greater influence, then fit the local regression using the selected bandwidth. section 11.2.5
Compare the supplied uniform and triangular kernel figures to see how distance and bandwidth shape observation weights. section 11.2.5



