Hello everyone
In my data I have a dichotomous variable (=value) for three different conditions (which are coded as 0,1,2). Currently, I get a nice picture with:
graph bar, over(value) by(condition, cols(3)) blabel(bar, format(%4.2g)) ytitle(Distribution in percentage) yscale(range(0 100)) ylabel(#5) scheme(s1mono) xsize(5)
However, I also want to show the 95%-CI in the bars. Some research suggest, that I would need to work with a twoway graph and use || rcap but I don't get it to work. I think the syntax with by(condition) is not supported in two-way graphs?
Can somebody help me?
Thanks
Jonas
Related Posts with Showing 95%-CI intervals in bar graph
Help with spmap legend optionHi, Im currently working on a map of Colombia with Stata 14 and spmap (Maurizio Pisati) based on th…
Impulse response functions when the system has equations with lag and contemporeneous relationsHi I have a system as following: A(t)= A(t-1) + B(t-1) + C(t-1) + error(t) B(t)= A(t-1) + B(t-1) + …
Survival analysis with lagged variableHi all, I am here to ask for your suggestions on how to run survival analysis with lagged variable.…
Creating a graph using xtline without connecting the data points. Shading some areas of the graphHello, I am trying to create a graph using the command xtline. The graph contains a line for the va…
geoinpoly with self made coordinates fileHello, I have recorded the lat and lon coordinates for different rectangular areas. I have group th…
Subscribe to:
Post Comments (Atom)
0 Response to Showing 95%-CI intervals in bar graph
Post a Comment