Instantly share code, notes, and snippets.

Embed
What would you like to do?
data mytable;
length name $20.;
input id name $ balance;
DATALINES;
1 alice 5.12
2 bob 12.31
3 charlie 45.14
4 daniel 32.78
4 ella 20.23
5 fay 70.89
6 gabe 29.67
7 henry 55.66
8 ivan .
;
run;
proc univariate data=mytable;
var balance;
run;
proc univariate data=mytable;
var balance;
histogram balance / vaxis=0 to 100 by 10 midpoints=0 to 100 by 10;
run;
proc univariate data=mytable;
var balance;
histogram balance / vaxis=0 to 100 by 10 midpoints=0 to 100 by 10 cgrid=black;
run;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment