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: Adding error bars to bar chart


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Adding error bars to bar chart
Date   Tue, 4 Mar 2014 15:28:45 +0000

The briefest suggestion is "Don't do that" for reasons developed
(e.g.) in the thread starting

http://www.stata.com/statalist/archive/2013-05/msg00293.html

and its references.

A less cryptic comment would be that this almost always (1)
over-reduces the data (2) places most emphasis where it is least
appropriate (3) is more difficult to interpret than easy alternatives.

There is no difficulty in principle, except that if you think the
place to start is -graph bar- that is quite wrong. You would need to
start with -twoway bar- and then add other -twoway- elements. By the
same token, you would need to calculate everything you need as
variables before you enter -twoway-.

Nick
[email protected]

On 4 March 2014 15:09, Chris Yang <[email protected]> wrote:

> Is there a way to add SEM error bars to a bar chart? I have the SEM
> calculated for each bar in the data, but drawing it on top of the bar
> seems not so straightforward in Stata.
>
> Any suggestion?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index