data have;
input ID Variable $;
cards;
1 X
2 X
3 Y
4 X
;
proc sql;
create table want as
select variable, count(variable)as count
from have
group by variable;
quit;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!