rSRD: An R Package for the Sum of Ranking Differences
Statistical Procedure
Balázs R. Sziklai, Attila Gere, Károly Héberger and Jochen Staudacher
The R Journal Vol. 18/3, September 2026 – pp 97-119
Abstract:
Sum of Ranking Differences (SRD) is a relatively novel, non-parametric statistical procedure that has become increasingly popular recently. SRD compares solutions via a reference by applying a rank transformation on the input and calculating the distance from the reference in L1 norm. Although the computation of the test statistics is simple, validating the results is cumbersome—at least by hand.There are two validation steps involved.
Comparison of Ranks with Random Numbers, which is a permutation-test, and cross-validation combined with statistical testing. Both options impose computational difficulties albeit different ones. The rSRD package was devised to simplify the validation process by reducing both validation steps into single function calls. In addition, the package provides various useful tools including data preprocessing and plotting. This paper aims to serve as a guide for practitioners by offering a detailed presentation of the features.
Download PDF
