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-x86_64)pumBayes_1.0.2.zip(r-4.7-arm64)pumBayes_1.0.2.zip(r-4.6-x86_64)pumBayes_1.0.2.zip(r-4.6-arm64)pumBayes_1.0.2.zip(r-4.5-x86_64)
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

5.05 score 113 stars 1 scripts 244 downloads 11 exports 5 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE108
linux-devel-x86_64NOTE113
source / vignettesOK184
linux-release-arm64NOTE106
linux-release-x86_64NOTE127
macos-release-arm64NOTE167
macos-release-x86_64NOTE274
macos-oldrel-arm64NOTE192
macos-oldrel-x86_64NOTE343
windows-devel-arm64NOTE342
windows-devel-x86_64NOTE156
windows-release-arm64NOTE377
windows-release-x86_64NOTE111
windows-oldrel-x86_64NOTE123
wasm-releaseOK99

Exports:calc_waicdtnormitem_charpost_rankpredict_idealpredict_irtpredict_pumpreprocess_rollcallsample_pum_dynamicsample_pum_statictune_hyper

Dependencies:mvtnormRcppRcppArmadilloRcppDistRcppTN