From  Joseph Wagner <joseph.wagner@wright.edu> 
To  statalist@hsphsun2.harvard.edu 
Subject  Re: st: RE: three mean and sd plots on the same graph? 
Date  Thu, 08 Nov 2007 15:54:24 0500 
 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 myI answered twice and you do have access to the article referenced in
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.
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/
© Copyright 1996–2016 StataCorp LP  Terms of use  Privacy  Contact us  What's new  Site index 