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;
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.