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
Related Posts with Diff in Diff graphic with repeated cross-sectional data
note: index_msa omitted because of collinearityhi friends. i have faced a problem. in my regression , this notification confused me. my regression:…
note: index_msa omitted because of collinearityhi friends. i have faced a problem. in my regression , this notification confused me. my regression:…
Linear regressionI have squared root the dependent variable to deal with the non-normally distributed residuals. The …
egen anycountI have five variables that all take on values 0, 1, or 2. I want to create a new variable that equal…
Line graph with different style for forecasted valuesHello, I have some values which are both historical and forecasted. Let's say that from 2000q1 to 2…
Subscribe to:
Post Comments (Atom)
0 Response to Diff in Diff graphic with repeated cross-sectional data
Post a Comment