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..
Figure horizontal time line with barsDear Stata community This is my first post here, so maybe I'll say something first: I've gotten num…
Further procedure using a random effects-modelHi! I am currently conducting a panel data analysis for my master's thesis. After evaluating the F,…
_rmcoll (Drop collinear variables)Dear all, I tried to find an appropriate post which relates to my problem but I was not successfull…
Calculate growth with dynamic lags in panel dataDears, I have realized the following already in python (more familiar) but would also like to inclu…
Ceo transition from male to femaleDear community, I have an unbalanced panel data where I want to create the following variables with…
Subscribe to:
Post Comments (Atom)
0 Response to Having Variables in X-Axis side by side, rather than in different groups..
Post a Comment