I have some problems creatin a graph with scalar variables, here is my code:
set scheme cleanplots, perm
egen maxmonto=max(monto)
egen maxtea=max(tea)
su maxmonto
scalar maxmonto2=r(max)
disp maxmonto2
twoway (scatter tea monto, mlcolor(blue) mlwidth(medthick) yscale(r(0 20 50 83.4)) ylabel(0 20 50 83.4) xscale(r(0 1000 2000 maxmonto2)) xlabel(0 1000 2000 maxmonto2) title("Pequeñas empresas MN") ytitle("TEA-%") xtitle("Monto del crédito-S/ Miles"))
Thanks in advance
Related Posts with Creating graphs with scalars
Clarification regarding O/E from melogit modelI believe I am doing this correctly but I would love confirmation from others more experienced with …
Calculating integral for an independent variableHi I have a panel dataset with t=35 and n=300. For a project I need to run a regression of the follo…
Difference in difference with time variant treatment I am currently working on district-month level data and interested in examining how the use of poli…
Help with significance testingGood day, Im very new to STATA and performing significance tests. I was wondering if anyone could l…
Breaking down a difference in difference resultHello everyone! In the literature has been documented that new CEOs make more innovation. This effe…
Subscribe to:
Post Comments (Atom)
0 Response to Creating graphs with scalars
Post a Comment