Stata code:
kinkyX.ado -- Stata command for two-stage estimation of distribution discontinuity determinants (updated on 7/13/2018), from "Modeling the Determinants of Meet-or-Just-Beat Behavior in Distribution Discontinuity Tests" (with Sudipta Basu)
bigreg.ado -- Stata command for the estimation of an OLS regression with thousands of firm-specific slope coefficients, from "The misuse of regression-based x-Scores as dependent variables" (with Sudipta Basu)
Code example Instructions
Simulation code