I wanted to estimate a difference-in-differences model using Stata looking at the effects of a trade shock (in 2007) on households' income. I have a repeated cross-sectional data for years 1995-2015. So, I estimated this model:
reg income Treat##Post i.year
which Treat is a dummy variable (1 for treated group and 0 for the control group), Post is a dummy variable (1 for years after the shock and 0 for years before the shock). I included year fix effects (i.year) to control for time-varying macroeconomic changes. Treated households used to be richer than the control group before the shock, however, their income trends were parallel (so, their income differences are not zero before the shock). The coefficient of interest (Treat*Post) is significantly negative.
I am also interested to find the effect of the shock for each year because I believe that the effect of shock has decreased over time. So, I estimated this model:
reg income ib2006.year##i.Treat
I have two questions regarding defining the base year:
(1) I define the year before the shock (2006) as the base year. It is assumed there is no difference between these two groups in term of income in the year 2006 which is not correct, because as I said before treated households used to be richer than the control group before the shock, so their income differences are not zero before the shock.
(2) Although Treat*Post coefficient is significant in the first model, Treat*year2007-Treat*year2015 are not significant in the second model. Why?
(if I change the base year to 2007, the coefficients will be significant because all values shift down.)
Related Posts with The base year for finding yearly effects of the shock in DID
latent class regression - interpreting the coefficientsDear Stata users, I am running latent class analysis with a covariate, to determine whether the cova…
Saving multiple regression results to reproduce for -test-Hi everyone. So I have been trying to use -est sto- for saving my regression results. But it could o…
"Predicts failure perfectly" (Probit, logit with interaction terms)Dear Statalist, I am trying to run probit and logit models, but when I include interaction terms I …
Displaying in results names of temporary variablesI suspect I've missed an obvious solution, but is there a way to display the assigned name of a temp…
How to load HUGE file that exceeds physical memory - Max_Memory not working.I am using Stata 16.1 on Windows server 2012 with 256GB of memory. Trying to import 400GB MySQL data…
Subscribe to:
Post Comments (Atom)
0 Response to The base year for finding yearly effects of the shock in DID
Post a Comment