Hello,
I am trying to rank a dataset's variable using 3 groups, but I want the groups to be distributed as following:
- rank 0 -> 0 to 10% of observations
- rank 1 -> 10% to 20% of observations
- rank 2 -> the rest up to 100%
I know that by default "proc rank groups = 3" would split the dataset into 3 equal groups. Could anyone point me into the right direction?
Thanks!
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.