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;
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.