Here is some technique. The use of the jeffreys option is just to flag that you have choices. Otherwise other choices are just that, choices.
Code:
preserve statsby, by(info pref) clear : ci prop generous, jeffreys list scatter mean pref, msize(large) by(info, note("") legend(off)) || rcap ub lb pref , ytitle(Proportion generous and 95% confidence intervals) xla(0 1, valuelabel tlc(none)) xsc(r(-0.1 1.1)) xtitle("") name(G1, replace) twoway bar mean pref, barw(0.6) fcolor(stc1*0.2) by(info, note("") legend(off)) || rcap ub lb pref , ytitle(Proportion generous and 95% confidence intervals) xla(0 1, valuelabel tlc(none)) xsc(r(-0.1 1.1)) xtitle("") name(G2, replace)
Comment