Hello, I am trying to make a line graph with 25 lines, one for each department, but I keep getting 25 graphs with one line each. I want to find a way to make the one line graph or a way to overlay or overlap the 25 graphs. thank you in advance
forvalues i = 1(1)25 {
local lines line g_math año if departamento==`i'
#delimit ;
twoway
(`lines'),
xlabel(2008[1]2016)
legend(off)
ti("Evolución de puntajes")
subti("Promedio a nivel departamento-año")
yti("Puntaje en matemática (año base 2014)")
xti("Año")
xsize(7)
ysize(10);
#delimit cr
graph save graf`i' , replace
}
Related Posts with Local loop line graph
how to choose between Fixed effects model and Pooled OLS model ?hello everyone, i'm currenlty doing a research for my masters' thesis, and i'm doing a panel study o…
Turn off -beep- in stataI could not find an existing topic for this, but how do I turn the beep in stata? I found it very an…
Chow test for structural break in 2SLS processI am using ivregress in STATA 16. I want to understand how can I apply chow test for structural brea…
Multinomial*regression for Panel dataDear Statalisters, 1\ Could someone show me a clear example for the application of the femlogit com…
Statalist Site error message : "empty response"Hello, Since yesterday, I noticed a strange behavior in the Statalist's Web site. Whenever I try t…
Subscribe to:
Post Comments (Atom)
0 Response to Local loop line graph
Post a Comment