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
Graphing Ovals/Ellipses?I know that one can plot circles in stata using a weighted scatterplot. Is it possible to plot ovals…
Repeated anova with changing treatmentsHello, I have some problems with the repeated anova. Basically, I observed certain reactions of pa…
how to indicate specific variables when using reghdfe and estfe?Hi there, I have a question regarding the use of reghdfe and esttab. Right now I have a bunch of co…
r(198) programm error: code follows on th same line as open bracesI'm working on two loops, one for downloadig data from a website from stata and the other one for tr…
F-statistic from the joint test of the significance of a particular set of coefficientsHi, I employ panel data by using the code: xtset execid fyear Now i want to reg the following mode…
Subscribe to:
Post Comments (Atom)
0 Response to difference in difference in stata
Post a Comment