PerMallows: An R Package for Mallows and Generalized Mallows Models

Ekhine Irurozki, Borja Calvo, Jose A. Lozano

Main Article Content

Abstract

In this paper we present the R package PerMallows, which is a complete toolbox to work with permutations, distances and some of the most popular probability models for permutations: Mallows and the Generalized Mallows models. The Mallows model is an exponential location model, considered as analogous to the Gaussian distribution. It is based on the definition of a distance between permutations. The Generalized Mallows model is its best-known extension. The package includes functions for making inference, sampling and learning such distributions. The distances considered in PerMallows are Kendall's τ , Cayley, Hamming and Ulam.

Article Details

Article Sidebar