I'm doing a Diff in Diff and I'm first making a graph I put in the following command:
twoway (line students year if university==1) (line students year if university==2, xline(2011)), xlabel(2003(2)2014) legend(lab(1 "Erasmus") lab(2 "Tilburg") )
however I get the error
xlabel(2003(2)2014) is not a twoway plot type
then I tried putting in
twoway (line students year if university==1) (line students year if university==2, xline(2011)) legend(lab(1 "Erasmus") lab(2 "Tilburg") )
but then I get the error
option ) not allowed
how do I get past this error to get my plot?
Related Posts with difference in difference in stata
Plot predictions after xthregHello Statalist, I have experimental panel data und used xthreg to estimate a threshold function (w…
installing an ado fileCan anyone guide me on how to install an ado file? I'm using stata 14.2 in Mac. Here is the file htt…
ttest result and asdoc table not agree.Hi all, I am getting problem with results in asdoc table, p-values in the Word file not agree with …
Variables not working togetherHello, I am relatively new to Stata and I am trying to run a regression and my whitedummy variable …
wrapping up using lines of codes in a loopHi, How can I wrap up the below code in a loop? Best, Nader gen n=_n gen sample=_n replace sam…
Subscribe to:
Post Comments (Atom)
0 Response to difference in difference in stata
Post a Comment