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.5)BradleyTerryScalable_0.1.0.9300.zip(r-4.4)BradleyTerryScalable_0.1.0.9300.zip(r-4.3)
BradleyTerryScalable_0.1.0.9300.tgz(r-4.4-x86_64)BradleyTerryScalable_0.1.0.9300.tgz(r-4.4-arm64)BradleyTerryScalable_0.1.0.9300.tgz(r-4.3-x86_64)BradleyTerryScalable_0.1.0.9300.tgz(r-4.3-arm64)
BradleyTerryScalable_0.1.0.9300.tar.gz(r-4.5-noble)BradleyTerryScalable_0.1.0.9300.tar.gz(r-4.4-noble)
BradleyTerryScalable_0.1.0.9300.tgz(r-4.4-emscripten)BradleyTerryScalable_0.1.0.9300.tgz(r-4.3-emscripten)
BradleyTerryScalable.pdf |BradleyTerryScalable.html
BradleyTerryScalable/json (API)

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

Peer review:

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:

3.80 score 24 stars 26 scripts 15 downloads 6 exports 23 dependencies

Last updated 2 years agofrom:908f5f4887. Checks:ERROR: 9. Indexed: yes.

TargetResultDate
Doc / VignettesFAILNov 22 2024
R-4.5-win-x86_64ERRORNov 22 2024
R-4.5-linux-x86_64ERRORNov 22 2024
R-4.4-win-x86_64ERRORNov 22 2024
R-4.4-mac-x86_64ERRORNov 22 2024
R-4.4-mac-aarch64ERRORNov 22 2024
R-4.3-win-x86_64ERRORNov 22 2024
R-4.3-mac-x86_64ERRORNov 22 2024
R-4.3-mac-aarch64ERRORNov 22 2024

Exports:btdatabtfitbtprobcodes_to_countsselect_componentssimulate_BT

Dependencies:clicpp11dplyrfansigenericsglueigraphlatticelifecyclemagrittrMatrixpillarpkgconfigpurrrR6RcppRcppArmadillorlangtibbletidyselectutf8vctrswithr