Hi all,
I'm using Stata to create a lot of charts which I've never used Stata for before, and I am struggling to create what I need (and I have read the stata guide etc such as https://www.stata.com/support/faqs/g...ked-bar-chart/).
There are two charts which I'd like a hand with,
1) A stacked bar chart with %s for multiple variables. So take variables x1 and x2, which are categorical variables which can take values 1-5. I'd like to create the chart which I have shown in the image below.

2) The second is the same type of chart, but assuming that x1 x2 were not separate variables, but different categories of another variable, say y (with values from 1 to 5).
Any help much appreciated.
Regards
I'm using Stata to create a lot of charts which I've never used Stata for before, and I am struggling to create what I need (and I have read the stata guide etc such as https://www.stata.com/support/faqs/g...ked-bar-chart/).
There are two charts which I'd like a hand with,
1) A stacked bar chart with %s for multiple variables. So take variables x1 and x2, which are categorical variables which can take values 1-5. I'd like to create the chart which I have shown in the image below.
2) The second is the same type of chart, but assuming that x1 x2 were not separate variables, but different categories of another variable, say y (with values from 1 to 5).
Any help much appreciated.
Regards
Comment