Dear Statalisters,
My research examines the effect of a support program for districts on district economic outcomes. I have a panel data over 4 time points, including 2010, 2013, 2016 and 2019. I plan to use csdid since there is variation in treatment timing. I have 3 questions.
1, I want to include state-year FE. From this post https://www.statalist.org/forums/for...fects-in-csdid, it is said that including this kind of FE would not work. I don't understand why.
If I included state-year FE, the estimates become much more significant than excluding state-year FE.
egen state_year=group(state year)
tabulate state_year, generate(state_year_fix)
egen group_var = csgvar(sup_pro), tvar(year) ivar(district)
csdid econ_gr state_year_fix*, district time(year) gvar(group_var) method(dripw) cluster(state)
(sup_pro is the treatment var, equal 1 if the district started to participate in the support program in year t.)
Is this correct to include state-year FE like this? Are my codes to include state-year FE correct?
2, Are 4 time points too few for csdid?
3, The support program actually started from 2007. However, I only got data from 2010. So, I drop districts which started to participate in the support program before 2011. Is this way of removing always-treated groups correct? Or I should keep all the observations in the data and leave it to stata to ignore those always-treated groups?
Many thanks.
My research examines the effect of a support program for districts on district economic outcomes. I have a panel data over 4 time points, including 2010, 2013, 2016 and 2019. I plan to use csdid since there is variation in treatment timing. I have 3 questions.
1, I want to include state-year FE. From this post https://www.statalist.org/forums/for...fects-in-csdid, it is said that including this kind of FE would not work. I don't understand why.
If I included state-year FE, the estimates become much more significant than excluding state-year FE.
egen state_year=group(state year)
tabulate state_year, generate(state_year_fix)
egen group_var = csgvar(sup_pro), tvar(year) ivar(district)
csdid econ_gr state_year_fix*, district time(year) gvar(group_var) method(dripw) cluster(state)
(sup_pro is the treatment var, equal 1 if the district started to participate in the support program in year t.)
Is this correct to include state-year FE like this? Are my codes to include state-year FE correct?
2, Are 4 time points too few for csdid?
3, The support program actually started from 2007. However, I only got data from 2010. So, I drop districts which started to participate in the support program before 2011. Is this way of removing always-treated groups correct? Or I should keep all the observations in the data and leave it to stata to ignore those always-treated groups?
Many thanks.
Comment