Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Plot means with SD


From   Patricia Biedermann <[email protected]>
To   [email protected]
Subject   Re: st: Plot means with SD
Date   Wed, 4 Apr 2012 08:11:09 +0200

Thank you.
But I don't wanna have a dotplot. More like a box plot, but just with mean instead of median and SD instead of quintiles. Or a bar- graph.
Is this somehow possible? 

On 03.04.2012, at 19:10, Nick Cox wrote:

> Your options include -dotplot- (official), -stripplot- (SSC).
> 
> Examples:
> 
> 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.
> 
> Nick
> 
> On Tue, Apr 3, 2012 at 6:02 PM, Patricia Biedermann
> <[email protected]> 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:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index