Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: Plot means with SD

From   Nick Cox <>
Subject   Re: st: Plot means with SD
Date   Tue, 3 Apr 2012 18:10:57 +0100

Your options include -dotplot- (official), -stripplot- (SSC).


sysuse bpwide, clear
dotplot bp*, mean bar
stripplot bp*,  bar vertical stack height(0.3) width(2)

-stripplot- with these options plots a 95% c.i. based on the mean.


On Tue, Apr 3, 2012 at 6:02 PM, Patricia Biedermann
<> wrote:

> I have two variables
> 1) medstable (days after a patient achieves medical stability, in days)
> 2) durofstay    (duration of hospital stay; in days)
> now I wanna plot these two variables with mean and SD, so that I can see the differences of both.
> How can I do this?

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index