[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
Chris Witte <eljefespeaks@yahoo.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: ci question |

Date |
Thu, 10 Apr 2008 16:35:37 -0700 (PDT) |

Thanks again Nick. These methods will test the limits of this stata newbie's mind, but I think I'll be able to figure it out with a little time. I appreciate the help. Chris ----- Original Message ---- From: Nick Cox <n.j.cox@durham.ac.uk> To: statalist@hsphsun2.harvard.edu Sent: Thursday, April 10, 2008 5:20:19 PM Subject: RE: st: ci question When I want to do something similar, I use tactics like these: 1. Reduce (e.g. -collapse-) the dataset to what you want to show. 2. Alternatively, typing the results into new variables, or even a new dataset, may be quicker and easier than working out how to automate that, especially if your graph design is a little unusual. 3. Although there are exceptions, using -twoway- is more flexible than using -graph bar-, -graph hbar-, or -graph dot-, especially for combinations of graph elements (most obviously point symbols plus bars or other intervals). 4. Overlaying is your friend. 5. An axis for categories can be constructed by working out a simple integer scale. A group of three, another group of four, then a group of two might be plotted against 1 2 3; 5 6 7 8; 10 11. If you want finer control of spacing, use larger integers, not fractional values. The -egen- function -axis()- from -egenmore- on SSC is one tool in this area. A better tool called -seqvar- is in preparation. 6. Once the spacing is good, attach text to the integers as value labels. -labmask- from -labutil- from SSC is one tool here. 7. Despite tribal conventions in many fields, text plotted horizontally is easier for the programmer to manipulate and the reader to follow. Something in this territory should appear in Speaking Stata in Stata Journal 8(2), or so I gather. Nick n.j.cox@durham.ac.uk Chris Witte I'd like to be able to have multiple levels by which the plots are separated/grouped along the x-axis (like the "over" command in "graph box" allows). For example, using eclplots, I'd like to be able to include two "parmid_varname" variables....or using ciplots, I'd like to include two variables in the "by" option. Now, I've also plotted this data by overlaying rcap plots with scatter plots of the means. Using this plotting method, is there a way to horizontally offset the rcap plots within a single x-axis value so that the rcaps do not overlap? This might be an acceptable presentation for me as well, although it would be better if I could do this through ciplot, eclplot, or serrbar. * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

- Prev by Date:
**RE: st: ci question** - Next by Date:
**Re: st: ci question** - Previous by thread:
**Re: st: ci question** - Next by thread:
**Re: st: ci question** - Index(es):

© Copyright 1996–2017 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |