difference-in-differences with fixed effects

来源:互联网 发布:软件白名单 编辑:程序博客网 时间:2024/06/06 00:03

difference-in-differences with fixed effects

up vote4down votefavorite
1

I have two questions related to having fixed effects in the DD model.

I have a treatment that occurs at different times (e.g., 2001,2005, etc.). I want to fit a DD model, so I standardize the treatment years to year "0" as the the treatment time. To control for treatment year heterogeneity, I included the true year fixed effects.

yit=β0+β1Treat+β2After+β3(Treat  After)+η(Year Fixed Effects)+γCit+ϵit

Question 1: Is there anything wrong with this model?

Question 2: Is there an issue to including time-constant fixed effects to this DD model? For example, what if I include i-level fixed effects (αi) and/or group indictors of i fixed effects (e.g. male/female or race)? I realize that DD cancels out time-constant i-lvl FE, but what if I include it here again?



The model is fine but instead of standardizing the treatment years there is an easier way to incorporate different treatment times in difference in differences (DiD) models which would be to regress,

yit=β0+β1treati+t=2Tβtyeart+δpolicyit+γCit+ϵit
where treat is a dummy for being in the treatment group, policy is a dummy for each individual that equals 1 if the individual is in the treatment group after the policy intervention/treatment, C are individual characteristics and year are a full set of year dummies. This is a different version of the DiD model that you stated above but it does not require standardization of treatment years as it allows for multiple treatment periods (for an explanation see page 8/9 in these slides).

With regards to the second question you can include time-invariant variables at the individual level. You cannot add them at the group level (treatment vs control) because these will be absorbed by the treat dummy. You can still include individual control variables like gender but note that they do not play a mayor role in DiD analyses. Their only benefit is that they may reduce the residual variance and hence increase the power of your statistical tests (see slide 8 here).


0 0
原创粉丝点击