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]
st: Adding a bar for total in bar graph over category
From
Mehtabul Azam <[email protected]>
To
[email protected]
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/