[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: adding info to bar graph

From   Richard Goldstein <>
To   statalist <>
Subject   st: adding info to bar graph
Date   Wed, 09 Apr 2008 08:02:20 -0400

I want to produce a bar graph where the numeric variable is a 0/1 variable (so the means are proportions) over a grouping variable -- that part is easy. I would like to automatically add, either as a bar label or under the group id (e.g., the "5", etc. if I typed -graph bar foreign, over(rep78)- for the auto data), the numerator and denominator for this proportion (mean) -- is there a way to do that?

Note that I do know that I can do this with graph edit; however, I need to produce dozens of these graphs so I want an automatic way to do it.


Rich Goldstein
* For searches and help try:

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