BSBT {BSBT}R Documentation

BSBT: Bayesian Spatial Bradley–Terry


An implementation of the Bayesian Spatial Bradley–Terry (BSBT) model. It can be used to investigate data sets where judges compared different spatial areas. It constructs a network to describe how the areas are connected, and then places a correlated prior distribution on the quality parameter for each area, based on the network. The package includes MCMC algorithms to estimate the quality parameters.

Covariance Functions

The covariance functions can be used to construct the Multivariate Normal prior distribution. The prior distribution includes a constraint, where a linear combination of the parameters can be specified. There are two functions:

  1. constrained_adjacency_covariance_function creates a covariance matrix using a network based metric, and

  2. constrained_covariance_function creates a matrix using the Euclidean distance metric.

MCMC functions

The main MCMC function is run_mcmc, but in cases where the gender of the judges is known the function run_gender_mcmc can be used to analyse how the different genders behave.

[Package BSBT version 1.1.0 Index]