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

 From Joseph Wagner 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

Sorry Maarten I only got one reply from you and no link to the article was present. Thanks for including it here though.

Maarten buis wrote:

--- 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

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/
--
Joseph H. Wagner, M.P.H.
Lifespan Health Research Center
Wright State University Boonshoft School of Medicine
3171 Research Blvd.
Kettering, OH 45420-4014

(937) 775-1494 (LHRC office)
(937) 775-1456 (fax)

joseph.wagner@wright.edu

Visit the Lifespan Health Research Center Home Page at:
http://www.med.wright.edu/lhrc
*
* 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/