Compute the Kemeny distance of a data matrix containing preference rankings, or compute the kemeny distance between two (matrices containing) rankings.
A N by M data matrix, in which there are N judges and M objects to be judged. Each row is a ranking of the objects which are represented by the columns. If there is only X as input, the output is a square distance matrix
A row vector, or a n by M data matrix in which there are n judges and the same M objects as X to be judged.
If there is only X as input, d = square distance matrix. If there is also Y as input, d = matrix with N rows and n columns.
Antonio D'Ambrosio [email protected]
Kemeny, J. G., & Snell, L. J. (1962). Preference ranking: an axiomatic approach. Mathematical models in the social sciences, 9-23.
Tau_X TauX rank correlation coefficient
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.