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;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.