Package: pumBayes 1.0.2

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.zip(r-4.7)pumBayes_1.0.2.zip(r-4.6)pumBayes_1.0.2.zip(r-4.5)
pumBayes_1.0.2.tgz(r-4.6-x86_64)pumBayes_1.0.2.tgz(r-4.6-arm64)pumBayes_1.0.2.tgz(r-4.5-x86_64)pumBayes_1.0.2.tgz(r-4.5-arm64)
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
DESCRIPTION
card.svg |card.png
pumBayes/json (API)

# Install 'pumBayes' in R:
install.packages('pumBayes', repos = c('https://skylarshihub.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

4.15 score 14 stars 3 scripts 259 downloads 11 exports 5 dependencies

Last updated from:9399409a5a. Checks:11 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE162
linux-devel-x86_64NOTE141
source / vignettesOK216
linux-release-arm64NOTE146
linux-release-x86_64NOTE139
macos-release-arm64NOTE185
macos-release-x86_64NOTE335
macos-oldrel-arm64NOTE180
macos-oldrel-x86_64NOTE311
windows-develNOTE128
windows-releaseNOTE142
windows-oldrelNOTE125
wasm-releaseOK114

Exports:calc_waicdtnormitem_charpost_rankpredict_idealpredict_irtpredict_pumpreprocess_rollcallsample_pum_dynamicsample_pum_statictune_hyper

Dependencies:mvtnormRcppRcppArmadilloRcppDistRcppTN