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

From |
Maarten buis <maartenbuis@yahoo.co.uk> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: RE: three mean and sd plots on the same graph? |

Date |
Thu, 8 Nov 2007 16:12:36 +0000 (GMT) |

--- Joseph Wagner <joseph.wagner@wright.edu> wrote: > Unfortunately I can't use over with -stripplot- since I can't combine > ()over with more than one variable and I have three that I wanted to > compare side by side for each value of the X- axis categorical > variable. by() won't work either for that matter since what I want is > basically X over many Y as follows with a crude representation of my > boxplot: > > > | > | - - - - > | +-+ - +-+ +-+ - +-+ > | |-| +-+ |-| |-| +-+ |-| > | +-+ |-| +-+ +-+ |_| +-+ > | - +-+ - - +-+ - > | - - > +------------------------------------------- > var_1 var_2 var_3 var_1 var_2 var_3 > age=8 age=9 > > > I don't have access to the article Maarten referenced. I answered twice and you do have access to the article referenced in the first answer (as I gave you a link). This article will give you all the elements you need to solve your problem. Here is an example: *-------------- begin example ----------------------- sysuse auto, clear parmby "mean trunk mpg turn", by(foreign) norestore gen x = _n scatter estimate x || /* */ rcap min95 max95 x, /* */ xlab(1 "trunk" /* */ 2 `""mpg" "Domestic""' /* */ 3 "turn" /* */ 4 "trunk" /* */ 5 `""mpg" "Foreign""' /* */ 6 "turn") /* */ legend(order(1 "mean" 2 "95% CI")) /* */ xtitle("") *------------------ end example ------------------------- (For more on how to use examples I sent to the Statalist, see http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.html ) Hope this helps, Maarten ----------------------------------------- Maarten L. Buis Department of Social Research Methodology Vrije Universiteit Amsterdam Boelelaan 1081 1081 HV Amsterdam The Netherlands visiting address: Buitenveldertselaan 3 (Metropolitan), room Z434 +31 20 5986715 http://home.fsw.vu.nl/m.buis/ ----------------------------------------- ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html * * 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/

**Follow-Ups**:**Re: st: RE: three mean and sd plots on the same graph?***From:*Joseph Wagner <joseph.wagner@wright.edu>

**References**:**Re: st: RE: three mean and sd plots on the same graph?***From:*Joseph Wagner <joseph.wagner@wright.edu>

- Prev by Date:
**Majordomo results: Re: st: Majordomo results - repeated ema** - Next by Date:
**Re: st: Majordomo results - repeated emails** - Previous by thread:
**Re: st: RE: three mean and sd plots on the same graph?** - Next by thread:
**Re: st: RE: three mean and sd plots on the same graph?** - Index(es):

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