Hi,
I made a new binary variable called "desire_autonomy" where 1 is yes and 0 is no. I'm trying to make a bar graph that shows the percent of participants in my race variable (made up of 5 categories) that desired autonomy. My code right now is: graph bar (percent) desire_autonomy, over (ethnicitylang4C)
However, I noticed that the percentages do not match the percentages I get when I tabulate: tab desire_autonomy ethnicitylang4C, col.
Not sure what I'm missing. Is there a better way to show percent respondents of a categorical variable?
Thank you,
Faby