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

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

st: about graph bar

From   "G. Dai" <>
Subject   st: about graph bar
Date   Fri, 5 Mar 2010 08:41:35 -0800

Dear all, here is my question. I have data on individual weight, gender, and
a dummy indicating
if the individual does exercises often. I want to compare if often exercise
is correlated with weight.
thus, I first
 .graph bar weight,over(exercise)
and to compare the gender difference I also
.graph bar weight,over (exercise) over(gender)
As you can see I get two graphs one separating  gender effect one not.
However, to save space,
I'd like to combine these tow graphs in one,that is one  graph  with three
type bars:male female and mixed.

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index