Matlab/Octave package: BayesBT
Efficient Bayesian inference for generalized Bradley-Terry models

Download package


This Matlab/Octave package implements EM and Gibbs sampling algorithms for Bayesian inference in Bradley-Terry and Plackett-Luce models (Caron and Doucet, 2012). These models are very popular to deal with data consisting of pairwise or multiple comparisons of a set of items. Please refer to the reference below for further details on the models and algorithms.

The package has been tested on Matlab R2014a (with statistics toolbox) and Octave 3.6.4.

F. Caron, A. Doucet. Efficient Bayesian inference for generalized Bradley-Terry models. Journal of Computational and Graphical Statistics,  vol. 21(1), pp. 174-196, 2012.
[Download paper]



Download the package using the link above and unzip the archive in some folder. Add the folder to the Matlab/Octave path using the command  addpath('path_to_the_folder');



Bayesian Inference in Bradley-Terry models
Bayesian Inference in Plackett-Luce models


(C) Copyright 2011 INRIA

Author: Fran├žois Caron, Univ. of Oxford

Permission is granted for anyone to copy, use, or modify these programs and accompanying documents for purposes of research or education, provided this copyright notice is retained, and note is made of any changes that have been made.

These programs and documents are distributed without any warranty, express or implied. As the programs were written for research purposes only, they have not been tested to the degree that would be advisable in any important application.
All use of these programs is entirely at the user's own risk.