The % of the entire population
The % of the entire male population
are different things. Here's some technique. percent is percent of everyone. percent(sex) would give conditional distributions on sex.
Note the xrescale suboption.
Over to you, now, to fiddle further.
The % of the entire male population
are different things. Here's some technique. percent is percent of everyone. percent(sex) would give conditional distributions on sex.
Note the xrescale suboption.
Over to you, now, to fiddle further.
Code:
catplot sex school [fw=_freq], by(jobs, xrescale note("")) percent asyvars bar(1, bfcolor(blue*0.5)) bar(2, bfcolor(pink*0.5))
Comment