Hello!
I'm trying to graph a twoway scatter, and the results appear at the bottom of the graph. I have been working fine with this type of graph, however after I changed the specification of it, all of the results appear at the bottom even if I change the ylabel of it.
So, this is what I had before:

And after I changed the specification of the regression, I get this graph:

So this is my code:
So, changing the ylabel:
This is what I get:

So every result appears at the bottom of the graph.
I would really appreciate your help guys!
I'm trying to graph a twoway scatter, and the results appear at the bottom of the graph. I have been working fine with this type of graph, however after I changed the specification of it, all of the results appear at the bottom even if I change the ylabel of it.
So, this is what I had before:
And after I changed the specification of the regression, I get this graph:
So this is my code:
Code:
areg prom_mate4b_rbd y1 y2 y3 y4 y5 y6 y7 y8 y9 t1 t2 t3 t4 t5 t6 t7 t8 treat, a(rbd) parmest, label for(estimate min95 max95 %8.2f) li(parm label estimate min95 max95) saving(mat4b_DD.dta, replace) use ./mat4b_DD.dta, replace keep in 10/18 gen year=2010 in 1 replace year=2011 in 2 replace year=2012 in 3 replace year=2013 in 4 replace year=2014 in 5 replace year=2015 in 6 replace year=2016 in 7 replace year=2017 in 8 replace year=2018 in 9 twoway (scatter estimate year, mlabel(year) mlabsize(vsmall) msize(tiny)) (rcap min95 max95 year, msize(vsmall)), ytitle(Coeficiente SIMCE Matemáticas) yscale(titlegap(2)) yline(0, lwidth(vthin) lcolor(black)) xtitle(Años) xscale(titlegap(2)) legend(off)
Code:
areg prom_mate4b_rbd y1 y2 y3 y4 y5 y6 y7 y8 y9 t1 t2 t3 t4 t5 t6 t7 t8 treat, a(rbd) parmest, label for(estimate min95 max95 %8.2f) li(parm label estimate min95 max95) saving(mat4b_DD.dta, replace) use ./mat4b_DD.dta, replace keep in 10/18 gen year=2010 in 1 replace year=2011 in 2 replace year=2012 in 3 replace year=2013 in 4 replace year=2014 in 5 replace year=2015 in 6 replace year=2016 in 7 replace year=2017 in 8 replace year=2018 in 9 twoway (scatter estimate year, mlabel(year) mlabsize(vsmall) msize(tiny)) (rcap min95 max95 year, msize(vsmall)), ytitle(Coeficiente SIMCE Matemáticas) yscale(titlegap(2)) yline(0, lwidth(vthin) lcolor(black)) ylabel(-30(10)35) xtitle(Años) xscale(titlegap(2)) legend(off)
So every result appears at the bottom of the graph.
I would really appreciate your help guys!

Comment