This is the stata code for performing regression discountinuity estimation