Man pages for did2s
Two-Stage Difference-in-Differences Following Gardner (2021)

castleData from Cheng and Hoekstra (2013)
df_hetSimulated data with two treatment groups and heterogenous...
df_homSimulated data with two treatment groups and homogenous...
did2sCalculate two-stage difference-in-differences following...
event_studyEstimate event-study coefficients using TWFE and 5 proposed...
gen_dataGenerate TWFE data
get_honestdid_obj_did2sget_honestdid_obj_did2s
honest_did_did2shonest_did_did2s
robust_solve_XtXRobust solve for X'X beta = X'Y using QR decomposition
did2s documentation built on Nov. 5, 2025, 5:26 p.m.