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 at the end of May, and its replacement, statalist.org 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 <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Plot means with SD
Date   Wed, 4 Apr 2012 09:17:10 +0100

Also see -ciplot- (SSC), -serrbar-.

Nick

On Wed, Apr 4, 2012 at 8:40 AM, Nick Cox <njcoxstata@gmail.com> wrote:
> I don't know what "wanna" means, but -ms(none)- will blank out marker
> symbols if you want to suppress your data.
>
> Nick
>
> On Wed, Apr 4, 2012 at 7:11 AM, Patricia Biedermann
> <pati.biedermann@gmail.com> wrote:
>> 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
>>> <pati.biedermann@gmail.com> 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/


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