Hello, I am trying to do a graph with confidence intervals. I got the following code:
twoway (rcap low high fecha if Tratamiento == 1 & No_Paga_IVA == 0) ///
(rcap low high fecha if Tratamiento == 0 & No_Paga_IVA == 0), ///
(line log_precios fecha if Tratamiento == 1 & No_Paga_IVA == 0, ///
lcolor(blue) lwidth(medthick) lpattern(solid)) ///
(line log_precios fecha if Tratamiento == 0 & No_Paga_IVA == 0, ///
lcolor(red) lwidth(medthick) lpattern(solid)), ///
xline(date("Jan-2021", "DMY"), lpattern(dash) lcolor(cranberry)) ///
xtitle("Fecha") ytitle("log(precios)") ///
legend(order(1 "Tratamiento=1, No_Paga_IVA=0" 2 "Tratamiento=0, No_Paga_IVA=0")) ///
title("Gráfico de log(precios) por Fecha")
but i get the "parentheses do not balance" and honestly i do not know where am i missing o lacking a parentheses.
I will really appreciate your help.
Related Posts with parentheses do not balance
Stratify or include interaaction terms when assessing the associations for boys and girls between several exposure variables and outcomeDear all, I have a model with 6 exposure variables and some other covariates. I would like to analys…
Adding Interaction with lagged dependent variables for CML estimation using "cquad"I am trying to regress a dynamic binary fixed-effects model of the form \[ y_it = \alpha_i + y_[it-1…
robust Error TermWhy doesn't Stata provide the information on the total sum of squares, model sum of squares, and res…
Treatment and controlDear all, I have to create a treatment and a control group. For example, I have a variable called "b…
compare variable (gdp) developmentHey, I want to compare the development of log(gdp) of some countries in one graph. But for a better …
Subscribe to:
Post Comments (Atom)
0 Response to parentheses do not balance
Post a Comment