Dear SAS experts, I am trying to create a histogram with PROC UNIVARIATE: proc univariate data=data1 noprint; class hiv47; histogram depression_cat/ normal midpoints=0 1 2 3 4 5 nrows=2 barlabel=percent; inset n='Number of participants' median mean std='SD'/ position=ne; label hiv47="HIV" depression_cat="depression categories"; run; It created the histogram, but is it possible to relabel each bar category, so I can use text for each bar instead of 0 1 2 3 4 5? For example, 0=no depression, 1=minimal depression, 2=mild depression, etc.... I checked options for proc univariate but did not seem to find a good solution. Also, is it possible to color code each bar by gender using proc univariate? For example, female proportion appears red while male proportion appears blue in each bar? Thank you all in advance for any advice!
... View more