Bayesian Preference Learning with the Mallows Rank Model

An implementation of the Bayesian version of the Mallows rank model (Vitelli et al., Journal of Machine Learning Research, 2018 <>; Crispino et al., to appear in Annals of Applied Statistics). Both Cayley, footrule, Hamming, Kendall, Spearman, and Ulam distances are supported in the models. The rank data to be analyzed can be in the form of complete rankings, top-k rankings, partially missing rankings, as well as consistent and inconsistent pairwise preferences. Several functions for plotting and studying the posterior distributions of parameters are provided. The package also provides functions for estimating the partition function (normalizing constant) of the Mallows rank model, both with the importance sampling algorithm of Vitelli et al. and asymptotic approximation with the IPFP algorithm (Mukherjee, Annals of Statistics, 2016 ).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.1 by Oystein Sorensen, 17 days ago

Browse source code at

Authors: Oystein Sorensen , Valeria Vitelli , Marta Crispino , Qinghua Liu

Documentation:   PDF Manual  

GPL-3 license

Imports Rcpp, ggplot2, Rdpack, stats, igraph, dplyr, sets, relations, tidyr, purrr, rlang, PerMallows, HDInterval, cowplot

Suggests testthat, gtools, knitr, rmarkdown, covr, parallel

Linking to Rcpp, RcppArmadillo

See at CRAN