Package: pumBayes 1.0.2

Skylar Shi

pumBayes: Bayesian Estimation of Probit Unfolding Models for Binary Preference Data

Bayesian estimation and analysis methods for Probit Unfolding Models (PUMs), a novel class of scaling models designed for binary preference data. These models allow for both monotonic and non-monotonic response functions. The package supports Bayesian inference for both static and dynamic PUMs using Markov chain Monte Carlo (MCMC) algorithms with minimal or no tuning. Key functionalities include posterior sampling, hyperparameter selection, data preprocessing, model fit evaluation, and visualization. The methods are particularly suited to analyzing voting data, such as from the U.S. Congress or Supreme Court, but can also be applied in other contexts where non-monotonic responses are expected. For methodological details, see Shi et al. (2025) <doi:10.48550/arXiv.2504.00423>.

Authors:Skylar Shi [aut, cre], Abel Rodriguez [aut], Rayleigh Lei [aut], Jonathan Olmsted [cph]

pumBayes_1.0.2.tar.gz
pumBayes_1.0.2.tar.gz(r-4.7-arm64)pumBayes_1.0.2.tar.gz(r-4.7-x86_64)pumBayes_1.0.2.tar.gz(r-4.6-arm64)pumBayes_1.0.2.tar.gz(r-4.6-x86_64)
pumBayes_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
pumBayes/json (API)

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

Bug tracker:https://github.com/skylarshihub/pumbayes/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • h116 - 116th U.S. House of Representatives Roll Call Votes
  • mqTime - U.S. Supreme Court Voting Data
  • mqVotes - U.S. Supreme Court Voting Data

On CRAN:

Conda:

openblascpp

2.00 score 3 scripts 152 downloads 11 exports 5 dependencies

Last updated from:b392da417a. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK155
linux-devel-x86_64OK152
source / vignettesOK188
linux-release-arm64OK132
linux-release-x86_64OK166
wasm-releaseOK138

Exports:calc_waicdtnormitem_charpost_rankpredict_idealpredict_irtpredict_pumpreprocess_rollcallsample_pum_dynamicsample_pum_statictune_hyper

Dependencies:mvtnormRcppRcppArmadilloRcppDistRcppTN