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..
couple id, family panel dataDear stata users, In my data I have children, mother and father. There is one record for the child, …
Reduce margins in combined plot when iscale is trickyDear all, I am trying to reduce the margins after "graph combine" when having two graphs that have …
Intercept / pseudo r-squared after mimrgnsHello everyone I do have a question about how to get the intercept in a mixed logistic modell with…
Free Causal Data Science MeetingThis might be of interest to the Stata community: Free causal data science meeting November 15th &a…
Individual trend instead of individual fixed effects?Dear All, I have a more general question, that I would like to discuss with you: In a pooled model …
Subscribe to:
Post Comments (Atom)
0 Response to Having Variables in X-Axis side by side, rather than in different groups..
Post a Comment