I have a categorical response variable - Tenure- with 7 different categories. The categories are the ranges of time that people have been in their job. I have an indicator variable for which region of the country each observation is from - Region - .
I want to create a stacked bar graph that shows the percentages in each category by each region. Ultimately, I would like the graph to look like the one attached (which I brute forced through Excel)
So the two steps I need to do are:
1. generate category percentages by regions, and
2. produce the graph.
Perhaps the graphing command may be able to do the percentages by region in one step?
Any help would be much appreciated.
Thanks,
David
I want to create a stacked bar graph that shows the percentages in each category by each region. Ultimately, I would like the graph to look like the one attached (which I brute forced through Excel)
So the two steps I need to do are:
1. generate category percentages by regions, and
2. produce the graph.
Perhaps the graphing command may be able to do the percentages by region in one step?
Any help would be much appreciated.
Thanks,
David
Comment