Lukar wrote:
First a simple one... How do I produce a box plot without the whiskers?
Second I have 3 vars that I want the means of in one graph over strata
When I do this at present it groups them in the graph by strata and I
want
it grouped by variable.
...
I want the graph to look like
3 bars representing high, mid, low strata 123 123
123
Var X
Y Z
-----------------------------------------------
Box plot without whiskers and outliers:
sysuse auto
graph box price weight, cwhiskers lines(lpattern(blank)) nooutsides
if that is what you want. You might also take a look at -graph twoway
bar-.
To organize bars by variable, use by(). Here -imargin(zero)- removes the
margin between by-graphs, and note("") eliminates a rather useless note:
recode rep78 (4 5 = 3)
graph bar price weight , by(rep78, row(1) imargin(zero) note(""))
Hope this helps
Svend
__________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone: +45 8942 6090
Home: +45 8693 7796
Email: [email protected]
__________________________________________
*
* 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/