Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: graph question


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: graph question
Date   Mon, 20 Apr 2009 14:15:00 +0100

This started a long thread involving several suggestions from Martin
Weiss. 

The basic class of problems I take to be plotting means and confidence
intervals for various cross-classified groups. 

I'd just like to point out that this is, not surprisingly, a problem
often met before. Among various other solutions -stripplot- on SSC
supports -over()- and -by()- options. 

Nick 
n.j.cox@durham.ac.uk 

Nikolaos Pandis

I have continuous data for two trial arms (control and experiment). 
There are 50 measurements per arm. 
Data is collected at 6 time intervals.

I would like to plot a bar chart with the x axis showing the intervals
(0, 1, 3, 6, 9, 12 months). Within each interval I would like to have
one bar for the control and one for the experimental group.
The y axis shows the mean of the measurement of interest.

Additionally, I would like to show the confidence intervals at each
interval per treatment group.

Alternatively, I would like to draw  a line plot with the same y and x
axis information, except that the two lines  would represent the control
and the experimental groups.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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