Hi, I'm not sure how to answer the question from the picture below. Any help is greatly appreciated!
Here is how I coded it but it gives me incorrect output.
data aa; input LEAGUE$4. NONCONF; cards; ACC 120 B10 110 B8 50 P10 22 EST 118 ; proc print; run; proc rank data=aa out=bb groups=2; proc print ; run;
proc rank data=aa out=bb groups=2;
var nonconf;
ranks half;
run;
proc rank data=aa out=bb groups=2;
var nonconf;
ranks half;
run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.