11-30-2016 12:07 AM
Hi I am using below codes to make a histogram
proc univariate data=filename noprint;
histogram VAR1 ;
I am getting histogram in the output but with Percentage and I want with Frequency count. Could anybody please help me on the same.
11-30-2016 12:33 AM
I'm not seeing an option in PROC UNIVARIATE, but SGPLOT HISTOGRAM statement has a SCALE=Count option.
Proc SGPLOT data=SASHELP.class;
hisotgram age / scale = count;
11-30-2016 05:28 AM
The documentation for the HISTOGRAM statement in PROC UNIVARIATE shows that you can use
Other options are VSCALE=PERCENT (the default) and VSCALE=PROPORTION.