Nice post. The GROUPS= option in PROC RANK is very powerful. For SAS/IML programmers, there are additional techniques that you can apply. Your second example isn't really a result of skewed data; it is the result of rounded and replicated data. But thanks for reminding us that rounded data can lead to groups of different sizes.