Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Graph Bar

From   "Scott Merryman" <>
To   <>
Subject   st: RE: Graph Bar
Date   Tue, 27 Sep 2005 14:05:23 -0500


I believe what you want is simply:

graph bar ecexist, over(year)

Using an example data set:

. use
(NLS Women 14-24 in 1968)

. graph bar union , over(year)

Or maybe

. graph bar union, over(year) exclude0

Note:  HTML messages are deprecated on Statalist.  See

Hope this helps,

[] On Behalf Of Katarina Sikavica
Sent: Tuesday, September 27, 2005 11:35 AM
Subject: st: Graph Bar

dear stata-users:

I have just started with stata graphics and have the following problem with
the graph bar:

I have a database thant contains data on the existence of audit committees
("acexist") (in total there are 761 companies, 533 of them having an audit
committee, 228 not). I would like to draw a graph bar that shows the
increase in audit committee incidence over year.
Drawing a graph bar on the increase in the number of audit committees works
fine; however, as the data from 2000 and 2001 are of poor quality I would
like to have percentages of audit committee incidence over the years
2000-2004 (that is: 47.27% (2000); 71.76% (2001); 66.01% (2002); 73.08%
(2003); 76.19% (2004)). neither of the following commands leads to the
desired results:

. graph bar (sum) ecexist, over (year) percent
. graph bar (sum) ecexist, over (year) asyvar percentages

I am sure this is an easy question for you stata specialists out there! Many
thanks for your help in advance!


*   For searches and help try:

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