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: bar graphs
From
Oliver Jones <[email protected]>
To
[email protected]
Subject
Re: st: bar graphs
Date
Mon, 09 May 2011 15:41:07 +0200
Hi,
you could try
twoway (graph bar (mean) var_x, over (rural) over(year)) ///
(graph bar (mean) var_x, over(year))
Best
Oliver
Am 09.05.2011 14:54, schrieb Abhimanyu Arora:
Dear statalist
I need to plot the mean of var_x over a binary categorical variable
(urban-rural) and 3 years.
When I use the command
graph bar (mean) var_x, over (rural) over(year), I get two bars for
each year (one for urban and one for rural).
Is it possible to obtain a third bar in addition which would give the
overall (across urban-rural) mean of var_x, so as to get 9 bars in
all?
Best regards
Abhimanyu
*
* 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/
--
Universität Bielefeld
Fakultät für Wirtschaftswissenschaften
Lehrstuhl für Ökonometrie und Statistik
- -
Bielefeld University
Faculty of Business Administration and Economics
Chair of Econometrics and Statistics
- -
Raum / room: V9-110
Tel / phone: +49 (0)521 106 4871
---
*
* 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/