Dear all, I am struggling with an easy way to represent the distribution of responses of a set of categorical variables with three response categories. I tried both bar graph and catplot, but I did not find the proper way to create the graph I have in mind, which basically should be like something an horizontal stack bar graph with the percentage of response for each category in each variable.
Here the data I am working with.
Thanks a lot, best, ciao, Giorgio
Here the data I am working with.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float(job_sat_tre job_sat_inter_tre job_sat_wage_tre job_sat_career_tre job_sat_stabi_tre job_sat_rel_tre job_sat_nhours_tre job_sat_dista_tre) 1 1 3 1 3 1 3 1 3 3 2 2 3 3 3 3 3 3 3 3 3 3 3 3 2 2 2 2 2 2 2 2 3 3 2 3 3 3 3 3 end

Comment