I'm trying to create a Figure with 2 panels by combining 4 separate ciplot estimates into a single figure. My code is below. What I can't figure out is:
A) How to write my command file so that the categories (shown along the x-axis) are told in the .do fille to be 45 degrees (rather than the default horizontal which overlaps)
B) How to get ciplot to label the point estimate itself with the mean # (So for example if on variable outcome 1 the mean values on the outcome variable are .5, .8, .4. .7 it shows that number inside the ciplot by the dot
C) Is there a way to automate the labeling of each column so they are labeled panel A and panel B when I combine the graphs in the final command?
Here's my code
ciplot outcome1, by(group) ///
name (outcome1)
ciplot outcome2, by(group) ///
name (outcome2)
ciplot outcome3, by(group) ///
name (outcome3)
ciplot outcome4, by(group) ///
name (outcome4)
graph outcome1 outcome2 outcome3 outcome4
I've poked around the help page for ciplot and also looked for example figures but with the specific program ciplot I can't seem to find examples on point. Any links to examples would be helpful.
Related Posts with Looking for options on labelling ciplot
spmap: Horizontal legend with specified legend text optionsDear all, I'm trying to make a map with a nicer legend. I would like for the legend to look somethin…
dpplot command, use xline() option but not showing the vertical line in graphDear Statalist: I am trying to draw a density probability plots. I am using dpplot in Stata 17 MP.…
Is it possible to tag duplicates sequentially?Hi Everyone! My data looks like below and I request for any syntax that helps to tag the duplicates …
Bioequivalence for Dichotomous outcomes, and also with nested data.Seeking guidance for conducting a bioequivalence (or non-inferiortty) test comparing two groups, but…
Help in Reshaping the DataI have data into this format Code: * Example generated by -dataex-. To install: ssc install dataex …
Subscribe to:
Post Comments (Atom)
0 Response to Looking for options on labelling ciplot
Post a Comment