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

st: RE: Making bar charts readable in a grayscale photocopy.

From   "Daniel R Sabath" <[email protected]>
To   <[email protected]>
Subject   st: RE: Making bar charts readable in a grayscale photocopy.
Date   Mon, 27 Oct 2003 10:49:57 -0800


Thank you for your answer and several good points.
I suppose I should have obfuscated the data a little differently other than
just stripping off the data labels. 
What that bargraph represents is a summary of data about similar but
mutually exclusive information over 14 different and wide spread geographic
regions. You could think of it as level of education completed (middle
school, high school, undergrad, masters, PhD) by country, expressed as a
percentage of the countries population and not be too far off. 

You mentioned CI and ORs. I'd like to know how to get confidence intervals
onto a barchart.

Many thanks,


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Lee Sieswerda
Sent: Monday, October 27, 2003 7:29 AM
To: '[email protected]'
Subject: st: RE: RE: RE: Making bar charts readable in a grayscale

I see your problem, the graph you posted is pretty awful. 

The problem you are trying to solve is a common one in the presentation of
survey results. The graph you show looks similar to a series of fourteen
related questions with responses coded on a scale of 1 to 6. Having been
faced with this situation many times, I think the issue is not one of
technology, but rather of making choices about what data to present and what
to suppress. Thus, it would be easier to help if it were clear what the
categories actually are, rather than just providing numeric codes.  

Some general points to consider are:

1. Can you combine any of the 6 categories? Your first category is clearly
dominant. The general idea here is to reduce the amount of data "clutter"
and focus on showing the dominant pattern in your data. All those little
bars may just be needless detail (depending on what they represent). If you
need to provide all of that detail, then perhaps you should provide a table
rather than a graph. Remember that graphs are meant to summarize data, and
need not provide all of the gory details.

2. Do all of the fourteen "over" groups need to represented on a single
graph? Do they fall into natural groups that could be split out over a
series of figures?

3. With regard to my earlier point about using a different type of graph: is
it possible to show these results as a series of effects? For example, could
you reduce the amount of data by graphing, say, odds ratios and confidence
intervals rather than the individual data points? If you can do this, then
you will be showing effects directly rather then leaving your reader to
infer the effect from the raw data points.

4. There is a type of graph that represents the contents of an r x c table
as a rectangular array of variously sized boxes (the bigger the cell number,
the larger the box). The idea here is to directly translate tabular data
into a graphical form. As far as I know, this is not implemented in Stata,
but Nick Cox may know better. It is implemented in R and I searched for
about 20 minutes to find it, but can't seem to put my finger on it. Perhaps
someone else knows the name of the command. EpiInfo implements this graph
type for 2 x 2 tables, but strictly, I think, as an aid to the
numerically-challenged trying to solve an outbreak. It probably has some
better use in larger r x c tables, but I'm hesitant to even mention it
because it is probably not really a solution. The fact that such graphs are
rarely published or even implemented is perhaps an indication that they lack
resonance in the scientific community.

That's the best I can do for you without knowing what your data actually


Lee Sieswerda, Epidemiologist
Thunder Bay District Health Unit
[email protected]

*   For searches and help try:

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