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
xtdidreAfter executing xtdidregress, I do estat trendplots. It gives me "treatment assignment times vary; n…
Extracting and using variables from different stata files of the same survey datasetHi All, I'm trying to perform a survey data analysis, but these data came in 35 different stata fil…
Reporting duplicates on two variables that are not duplicates on a third variableHi all, I am trying to identify cases that are duplicates on two variables "agencyname" and "statef…
ivprobit or cmp (probit cont)?Dear all, I have a binary DV with an endogenous X which I instrument with an interaction variable i.…
Interpreting results of a model for nonnegative, skewed dependent variablesHi there, I am I am working with data where the outcome is continuous and we have several predictor …
Subscribe to:
Post Comments (Atom)
0 Response to Creating graphs with scalars
Post a Comment