Hi Everyone,

I am currently trying to do a DD analysis on expenditure for two nations as a result of a policy ban in 2006 for the treatment group. I do not have panel data and so when attempting to use xtset, xtreg etc. it creates an unbalanced panel with in most cases 2 groups for variables of interest.

I am currently trying to use 'reghdfe' to run a fixed effect regression in order to obtain the DD estimator, but am then unsure how to plot this for each country, including a clear and obvious line to represent the implementation and the pre/post values of expenditure for both.
Happy to provide current code state and data if it will aid the situation, otherwise any quick advice on the creation of DD graphs and stata implementation would be very beneficial.

Thanks