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
Sample selection in the control function approachI am trying to understand what sample it is correct to use when estimating the models using the cont…
Adding missing values in a varlistHi, In my data set answers below zero each show a different type of missing value (e.g. not answere…
Endogenous binary regressor in multinomial logit modelHello forum members, i do have a multinomial logit model where one binary explanatory variable is e…
Can't open miest.sterDear Statalist, I am trying do run a Cox regression on an imputed dataset using restricted cubic sp…
lower what does mean?hi friends. please help me to understand this code. what does mean lower? gen cityname2=lower(cityof…
Subscribe to:
Post Comments (Atom)
0 Response to difference in difference in stata
Post a Comment