Package: BradleyTerryScalable 0.1.0.9300

Ella Kaye

BradleyTerryScalable: Fits the Bradley-Terry Model to Potentially Large and Sparse Networks of Comparison Data

Facilities are provided for fitting the simple, unstructured Bradley-Terry model to networks of binary comparisons. The implemented methods are designed to scale well to large, potentially sparse, networks. A fairly high degree of scalability is achieved through the use of EM and MM algorithms, which are relatively undemanding in terms of memory usage (relative to some other commonly used methods such as iterative weighted least squares, for example). Both maximum likelihood and Bayesian MAP estimation methods are implemented. The package provides various standard methods for a newly defined 'btfit' model class, such as the extraction and summarisation of model parameters and the simulation of new datasets from a fitted model. Tools are also provided for reshaping data into the newly defined "btdata" class, and for analysing the comparison network, prior to fitting the Bradley-Terry model. This package complements, rather than replaces, the existing 'BradleyTerry2' package. (BradleyTerry2 has rather different aims, which are mainly the specification and fitting of "structured" Bradley-Terry models in which the strength parameters depend on covariates.)

Authors:Ella Kaye [aut, cre], David Firth [aut]

BradleyTerryScalable_0.1.0.9300.tar.gz
BradleyTerryScalable_0.1.0.9300.zip(r-4.7)BradleyTerryScalable_0.1.0.9300.zip(r-4.6)BradleyTerryScalable_0.1.0.9300.zip(r-4.5)
BradleyTerryScalable_0.1.0.9300.tgz(r-4.6-x86_64)BradleyTerryScalable_0.1.0.9300.tgz(r-4.6-arm64)BradleyTerryScalable_0.1.0.9300.tgz(r-4.5-x86_64)BradleyTerryScalable_0.1.0.9300.tgz(r-4.5-arm64)
BradleyTerryScalable_0.1.0.9300.tar.gz(r-4.7-arm64)BradleyTerryScalable_0.1.0.9300.tar.gz(r-4.7-x86_64)BradleyTerryScalable_0.1.0.9300.tar.gz(r-4.6-arm64)BradleyTerryScalable_0.1.0.9300.tar.gz(r-4.6-x86_64)
BradleyTerryScalable_0.1.0.9300.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
BradleyTerryScalable/json (API)

# Install 'BradleyTerryScalable' in R:
install.packages('BradleyTerryScalable', repos = c('https://ellakaye.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ellakaye/bradleyterryscalable/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • citations - Statistics Journal Citation Data from Stigler
  • toy_data - A toy data set for the 'BradleyTerryScalable' package

On CRAN:

Conda:

openblascppopenmp

3.78 score 24 stars 25 scripts 4 downloads 6 exports 22 dependencies

Last updated from:908f5f4887. Checks:9 ERROR, 3 FAIL, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR166
linux-devel-x86_64ERROR182
source / vignettesERROR214
linux-release-arm64ERROR157
linux-release-x86_64ERROR202
macos-release-arm64ERROR105
macos-release-x86_64ERROR183
macos-oldrel-arm64FAIL107
macos-oldrel-x86_64FAIL184
windows-develERROR150
windows-releaseERROR139
windows-oldrelFAIL62
wasm-releaseOK171

Exports:btdatabtfitbtprobcodes_to_countsselect_componentssimulate_BT

Dependencies:clicpp11dplyrgenericsglueigraphlatticelifecyclemagrittrMatrixpillarpkgconfigpurrrR6RcppRcppArmadillorlangtibbletidyselectutf8vctrswithr