Hi Statalist,
I have an unbalanced panel data, with 800,000 observations and around 50,000 workers, for 27 years (1985-2012).
I would like to perform a policy evaluation, occurred in 1995, but not with a standard diff-in-diff, but with a dynamic one, since I expect the treatment to have an effect on the entire life-cycle (since 1996 to 2012). Basically, I need to have the POST_TREAT coefficients for all the 27 years; the idea is to construct a model able to detect the difference between the treated and control workers in the specific year k (ranging from 1985 to 2012) relative to the reform year (1995), ideally setting the 1995 coefficient at 0.
So far, I tried to perform this:
xtreg Y i.year i.year##treatment, fe (cluster worker)
where y is the output, i.year is the year k fixed effect, and then i.year##treatment is the interaction term for all the year, with the error terms clustered at indici
In this case, for the last term, I will have the interaction coefficients for all the years.
My questions are:
1) the model seems reasonable?
2) Is it right to say that, thank to the fixed effects model, I have already controlled for the individual fixed effects?
3) If I try to perform a OLS, including the individual fixed effects (i.worker), should I get the same results?
Thank you!
Nicolò
I have an unbalanced panel data, with 800,000 observations and around 50,000 workers, for 27 years (1985-2012).
I would like to perform a policy evaluation, occurred in 1995, but not with a standard diff-in-diff, but with a dynamic one, since I expect the treatment to have an effect on the entire life-cycle (since 1996 to 2012). Basically, I need to have the POST_TREAT coefficients for all the 27 years; the idea is to construct a model able to detect the difference between the treated and control workers in the specific year k (ranging from 1985 to 2012) relative to the reform year (1995), ideally setting the 1995 coefficient at 0.
So far, I tried to perform this:
xtreg Y i.year i.year##treatment, fe (cluster worker)
where y is the output, i.year is the year k fixed effect, and then i.year##treatment is the interaction term for all the year, with the error terms clustered at indici
In this case, for the last term, I will have the interaction coefficients for all the years.
My questions are:
1) the model seems reasonable?
2) Is it right to say that, thank to the fixed effects model, I have already controlled for the individual fixed effects?
3) If I try to perform a OLS, including the individual fixed effects (i.worker), should I get the same results?
Thank you!
Nicolò
Comment