Hi all, I have DiD study looking at the impact of a 2005 policy in the UK on a binary behavior outcome for immigrants from two types of countries, with (immigrant origin) country and year fixed effects and am trying to do an event plot using the base year of 2005. Here is the regression:
I've tried the following which was a bit of a disaster, because the base year became the first year listed in the graph (out of chronological order), and the coefficients from before 2005 were not displayed:
If there are any other approaches to this I'm more than happy to entertain them.
Code:
logistic outcome countrycategory##ib.2005.year i.country i.year, or vce(cluster country)
Code:
coefplot, keep(*countrycategory#*year) vertical base yline(0) order(1.countrycategory#1995.year, 1.countrycategory#1996.year....1.countrycategory#2014.year)
Comment