Hello,
I am doing a very basic Difference in Difference. I get my results for the DD fine, but for my paper I need to use a graph to show the same parallel trends. my treated country is Georgia, my control country is Armenia, my data set has the years from 1997 to 2008, with time by quarter. My treatment period starts in 2003.
my basic code is as follows.
gen time = (Year>2003.3) & !missing(Year)
egen countrynum = group(Country)
gen treated =(countrynum<2) & !missing(countrynum)
gen did = time*treated
reg FDI time treated did
my question is how can I go about creating the graph for the DD to show parallel trends?
Thank you so much in advance I have been stuck on this for days!
Related Posts with Simple parallel trends for Difference in Difference
Coefplot: Increase gap size between subgraphs, decrease font size of subgraph labels, and remove legendIn coefplot, can someone please tell me how to: 1) Increase the gap size between subgraphs (I need t…
How to equality test for multnomial logit model with two differen groups?Hello everyone, I would like to ask related with equality test in multinomial logit. Here is my two …
Econometric modellingPlease What type of model can be used to analyze the topic "understanding cross - continent poverty …
Combing dichotomous into oneHello Statalist I have troubles with my data and i hope you can help me My problem is that i have c…
Pooled OLS with year interaction vs. OLS by yearI'm trying to estimate the predicted test scores for students with different disability types, and t…
Subscribe to:
Post Comments (Atom)
0 Response to Simple parallel trends for Difference in Difference
Post a Comment