Using the `eventdd` Package (Event Studies)
Manual dummy-shifting and binning works but is inherently repetitive across projects. Dedicated Stata packages such as eventdd abstract the dummy management away.
- Run the
eventddcommand using theryvariable you created in Exercise 4. - Include
c.bin_max_60_611 i.yearas the independent variables. - Use the
method()option to control for unit and time fixed effects and cluster standard errors bydistrict_id. - Use the
graph_op()option to set the y-axis title. - Upload the resulting plot to your Overleaf document.