I’m not a data scientist so my jargon is going to be really off here but let me try to break this down. I’m using stata to encode qualitative data for research. I have 5 categorical variables whodunit_1, whodunit_4, whodunit_3, whodunit_4, whodunit_5 that are all encoded and are scaled with the same 4 ordinal scale (0, 1,2,3 and missing). I want to stack them as a percent make up of their respective totals (similar to how pie charts are but for a stack floatplot) but can’t get all the variables on the same print out. This is my initial code which works fine for one catvar but how can I add all of them onto the same graph? my code right now is
- graph bar (percent), over(whodunit_1) stack asyvars

Comment