Hi when am doing Proc rank by selecting option ties=low
if two members are having same rank lets say two members having rank 1 and I want next rank to be 2 not 3 Like Rank_Present_need
Can we Do that
Thanks in Advance
Name | Present | Rank_Present_output | Rank_Present_need |
---|---|---|---|
Davis | 77 | 3 | 2 |
Orlando | 93 | 1 | 1 |
Roe | 93 | 1 | 1 |
Sanders | 68 | 4 | 3 |
RTM
Ties=dense
Thank You!!!
proc rank data=sashelp.class group=19 out=class ties=low;
var age;
ranks agegroup;
run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.