Models for the analysis of paired comparison data using Stan. The models include Bayesian versions of the Bradley-Terry model, including random effects (1 level), generalized model for predictors, order effect (home advantage) and the variations for the Davidson (1970) model to handle ties. Additionally, we provide a number of functions to facilitate inference and obtaining results with these models. References: Bradley and Terry (1952) <doi:10.2307/2334029>; Davidson (1970) <doi:10.1080/01621459.1970.10481082>; Carpenter et al. (2017) <doi:10.18637/jss.v076.i01>.
Version: |
1.0.0 |
Depends: |
R (≥ 4.0.0) |
Imports: |
coda, dplyr, tidyr, stringr, ggplot2, gtools, methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.20.0), rstantools (≥ 2.1.0), tibble, tidyselect, HDInterval, shinystan, loo, magrittr, badger, stats, rlang, knitr |
LinkingTo: |
BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.20.0), StanHeaders (≥
2.20.0) |
Suggests: |
rmarkdown, testthat, covr, bayesplot, kableExtra |
Published: |
2020-12-09 |
Author: |
David Issa Mattos
[aut, cre],
Erika Martins Silva Ramos
[aut] |
Maintainer: |
David Issa Mattos <issamattos.david at gmail.com> |
BugReports: |
https://github.com/davidissamattos/bpcs/issues |
License: |
MIT + file LICENSE |
URL: |
https://github.com/davidissamattos/bpcs,
https://davidissamattos.github.io/bpcs/ |
NeedsCompilation: |
yes |
SystemRequirements: |
GNU make |
Citation: |
bpcs citation info |
Materials: |
README NEWS |
CRAN checks: |
bpcs results |