Hello all, probably a very basic question but I am brand new to stata and trying to teach it to myself (Stata 16)
I am trying to create a bar graph of frequency of BMI groups by sex.
I run the code:
graph bar (count), over(bmigrp) over(sex)
which gets the results I want, but puts all the male results on one "window" of the graph, and the female results on the other side.
Is there a way to get the results to be side by side for each category in different colours?
Thank you!
Related Posts with Having Variables in X-Axis side by side, rather than in different groups..
How can I run an event study on this dataset?Hi, I want to look at market reaction in response to earnings announcements, and I have a dataset i…
Cointegration in time series regressionIf I've found that yt and xt, which are both I(1), are cointegrated, what regression would I run? …
How to find ttest at 1% ?Hello. I want to make a t-test at 5%and one at 1%. I use this code : Code: ttest d2, by(b7a) The…
Testing b coefficients Panel modelsI'm running 9 different Panel model to test diaspora effects of migration on trade for 9 different c…
PercentagesHi Statlist, I am trying to build a scatterplot and would like to input data in the form of percent…
Subscribe to:
Post Comments (Atom)
0 Response to Having Variables in X-Axis side by side, rather than in different groups..
Post a Comment