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, statalist.org is already up and running.


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

st: Adding a bar for total in bar graph over category


From   Mehtabul Azam <mehtabazam@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Adding a bar for total in bar graph over category
Date   Thu, 8 Apr 2010 18:17:01 -0400

I have a categorical variable area (Urban & Rural), and i am making a
bar graph over(area). poor is indicator for being poor.
i want to add a bar for total (Urban & Rural). However, over
suboptions does not seem to have anything which add a bar for total
also.
graph bar (mean) poor [aw=weight], over(area) over(year)
Is there a way to add up a bar for total (with urban and rural categories)?

Thanks,
Mehtab

*
*   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