Learn R Programming

BradleyTerry2

Specify and fit the Bradley-Terry model, including structured versions in which the parameters are related to explanatory variables through a linear predictor and versions with contest-specific effects, such as a home advantage.

Installation

You can install BradleyTerry2 from github with:

# install.packages("devtools")
devtools::install_github("hturner/BradleyTerry2")

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Copy Link

Version

Install

install.packages('BradleyTerry2')

Monthly Downloads

8,425

Version

1.1.4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Heather Turner

Last Published

September 30th, 2026

Functions in BradleyTerry2 (1.1.4)

glmmPQL.control

Control Aspects of the glmmPQL Algorithm
qvcalc.BTabilities

Quasi Variances for Estimated Abilities
predict.BTglmmPQL

Predict Method for BTglmmPQL Objects
reexports

Objects exported from other packages
football

English Premier League Football Results 2008/9 to 2012/13
flatlizards

Augrabies Male Flat Lizards: Contest Results and Predictor Variables
icehockey

College Hockey Men's Division I 2009-10 results
predict.BTm

Predict Method for Bradley-Terry Models
glmmPQL

PQL Estimation of Generalized Linear Mixed Models
plotProportions

Plot Proportions of Tied Matches and Non-tied Matches Won
residuals.BTm

Residuals from a Bradley-Terry Model
springall

Springall (1973) Data on Subjective Evaluation of Flavour Strength
sound.fields

Kousgaard (1984) Data on Pair Comparisons of Sound Fields
seeds

Seed Germination Data from Crowder (1978)
GenDavidson

Specify a Generalised Davidson Term in a gnm Model Formula
baseball

Baseball Data from Agresti (2002)
chameleons

Male Cape Dwarf Chameleons: Measured Traits and Contest Outcomes
citations

Statistics Journal Citation Data from Stigler (1994)
countsToBinomial

Convert Contingency Table of Wins to Binomial Counts
anova.BTm

Compare Nested Bradley Terry Models
BTabilities

Estimated Abilities from a Bradley-Terry Model
add1.BTm

Add or Drop Single Terms to/from a Bradley Terry Model
BTm

Bradley-Terry Model and Extensions
CEMS

Dittrich, Hatzinger and Katzenbeisser (1998, 2001) Data on Management School Preference in Europe