Using Markov chain Monte Carlo (MCMC) to visualize and test the linearity assumption of the Bradley-Terry class of models

Anim Behav. 2012 Dec 1;84(6):1523-1531. doi: 10.1016/j.anbehav.2012.09.026.

Abstract

The construction of dominance hierarchies for animal societies is an important aspect of understanding the nature of social relationships, and the models to calculate dominance ranks are many. However, choosing the appropriate model for a given data set may appear daunting to the average behaviourist, especially when many of these models assume linearity of dominance. Here, we present a method to test whether or not a data set fits the assumption of linearity using the Bradley-Terry model as a representative of the class of models that assume linearity. Our method uses the geometry of a posterior distribution of possible rankings given the data by using a random walk on this distribution. This test is intuitive, efficient, particularly for large number of individuals, and represents an improvement over previous linearity tests because it takes into account all information (i.e. both linear and apparently circular or nonlinear information) from the data with few restrictions due to high dimensionality. Such a test is not only useful in determining whether a linear hierarchy is relevant to a given animal society, but is necessary in justifying the results of any analysis for which the assumption of linearity is made, such as the Bradley-Terry model. If the assumption of linearity is not met, other methods for ranking, such as the beta random field method proposed by Fushing et al. (2011, PLoS One, 6, e17817) should be considered.

Keywords: Bradley–Terry; goodness of fit; linearity; paired comparisons; ranking; rhesus macaque.