![Compute tied ranks](https://blogs.sas.com/content/iml/files/2021/04/ranktie3.png)
The ranks of a set of data values are used in many nonparametric statistics and statistical tests. When you request a statistic or nonparametric test in SAS, the procedure will automatically compute the ranks that are needed. However, sometimes it is useful to know how to compute the ranks yourself.