Hi! How can I replace the bars (that shows the average for each case) with red dots?
This is my code:
*Box plot with CI
collapse (mean) Aprobacióndelgobierno (semean) sd = Aprobacióndelgobierno, by(PresentaAC)
gen yu = Aprobacióndelgobierno + 1.96*sd
gen y1 = Aprobacióndelgobierno - 1.96*sd
twoway (bar Aprobacióndelgobierno PresentaAC, barw(0.15)) || (rcap yu y1 PresentaAC), legend(order(1 "Aprobación Promedio" 2 "IC")) xlabel(0 "No" 1 "Sí") ytitle(`"Aprobación de Gobierno (%)"') ylabel(, angle(horizontal))
graph export 1_1_Apro_y_presenta_o_no_AC_con_test.png, replace
Best regards,
Andrés
This is my code:
*Box plot with CI
collapse (mean) Aprobacióndelgobierno (semean) sd = Aprobacióndelgobierno, by(PresentaAC)
gen yu = Aprobacióndelgobierno + 1.96*sd
gen y1 = Aprobacióndelgobierno - 1.96*sd
twoway (bar Aprobacióndelgobierno PresentaAC, barw(0.15)) || (rcap yu y1 PresentaAC), legend(order(1 "Aprobación Promedio" 2 "IC")) xlabel(0 "No" 1 "Sí") ytitle(`"Aprobación de Gobierno (%)"') ylabel(, angle(horizontal))
graph export 1_1_Apro_y_presenta_o_no_AC_con_test.png, replace
Best regards,
Andrés
Comment