I have a diff-in-diff model where the treatment is staggered and apparently endogenous. I want to use 2SLS to address the endogeneity problem but I am worried that my average treatment effect will be biased since the treatment is staggered. Can I use the next command using 2SLS when having a staggered setup?
Is this possible in a staggered setup? Or any suggestions on how to combine 2sls to csdid? Thanks
Code:
ivregress 2sls Y c.time (c.treatment c.time#c.treatment = c.instrument c.time#c.instrument), vce(cluster id)
Comment