A histogram visualizes the distribution pattern of a variable. PROC SQL can draw a horizontal histogram
by showing the frequency bars with a few asterisks for each level of the variable age.
procsql;
selectage, repeat('*',count(*)*4) as Frequency
fromSashelp.class
groupby age
orderby age;
quit;
OUTPUT:
No comments:
Post a Comment