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
Difficulty generating a conditional variableI'm working with some data on NFL football players. I want to generate a variable that reflects how …
Multivariate repeated measures mixed effects regressionHello, I have a dataset with cognitive ability score measured at two time points. I am interested in…
Is "reshape long" limited by the number of "i"s: too many variables specifiedHi everyone, I am trying to run a reshape long command with 10 variables specified as i (below comma…
Save specific output from multiple regressionsDear all, I am new to Stata and apologies if I post something in a wrong way. I want to run many A…
ppmlhdfe Pseudo R2Hi, I am using the regressor: ppmlhdfe It shows me the Pseudo R2. How could I calculate the R2? T…
Subscribe to:
Post Comments (Atom)
0 Response to parentheses do not balance
Post a Comment