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
Using local variable in forvalues loopHi everyone, I am trying to run the following code: count if productcode == 21 scalar nobs = r(N) …
what is the correct specification of lagged variables using xtpmg ?Hi everyone, I'm using xtpmg to run an ardl model on panel data using the pooled mean group estimato…
Help with saving the coefficients and confidence intervals of only one variable in multiple regressionsDear all, I am running -qreg- for 9 deciles separately, and I want to create 3 variables containing…
Panel dataHi everyone ,I have panel data from BHPS and i want to use descriptive statistics (one table and one…
About pre-treatment balance and difference-in-differences methodHello, I am a PhD student and I am planning to apply natural experiment methods (I have a proper sh…
Subscribe to:
Post Comments (Atom)
0 Response to Looking for options on labelling ciplot
Post a Comment