I have a large panel data set and I use diff-in-diff to analyze the effect of a parental leave reform on wages. I have data 3 years prior to the reform and 10 years after. I created a reform dummy which equals one if the child was born after the reform and zero otherwise. Further, I created a time dummy which equals one from the year the reform was implemented.
I have specified the following code in STATA:
Code:
xtreg logwage i.reform##.time i.years yearssincebirth age experience education, fe robust
Best,
Kamilla
0 Response to Difference-if-Differences omitting variables
Post a Comment