Hi,
I am trying to create a stem-and-leaf plot of some data that I have but when I run the code, I get doubles for each stem value because the leaf value splits at 5. How can I stop this from occurring? Also, how can I sort the data in ascending order because currently the chart is printing in ascending order?
Here is the code I have so far:
DATA auto;
INPUT scf;
CARDS;
31
35
42
43
43
43
44
44
45
47
48
49
50
50
53
53
54
59
61
62
70
73
76
;
*PROC UNIVARIATE DATA=auto PLOTS;
ods listing;
ods graphics off;
proc univariate data=auto plots;
VAR scf;
run;
quit;
I commented PROC UNIVARIATE DATA = auto PLOTS; out because I wasn't sure what the code does and it doesn't seem to change the output when I run it. I also need help printing the plot in ascending order because it is currently printing in descending order. I will appreciate any insight or input anyone can provide me. Thanks!