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:
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
Last updated from:b392da417a. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 155 | ||
| linux-devel-x86_64 | OK | 152 | ||
| source / vignettes | OK | 188 | ||
| linux-release-arm64 | OK | 132 | ||
| linux-release-x86_64 | OK | 166 | ||
| wasm-release | OK | 138 |
Exports:calc_waicdtnormitem_charpost_rankpredict_idealpredict_irtpredict_pumpreprocess_rollcallsample_pum_dynamicsample_pum_statictune_hyper
Dependencies:mvtnormRcppRcppArmadilloRcppDistRcppTN
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate a block version of Watanabe-Akaike Information Criterion (WAIC) | calc_waic |
| Density Function for Truncated Normal Distribution | dtnorm |
| 116th U.S. House of Representatives Roll Call Votes | h116 |
| Generate Data for Item Characteristic Curves | item_char |
| Generate Quantile Ranks for Legislators | post_rank |
| Calculate Probabilities for the IDEAL Model | predict_ideal |
| Calculate Probabilities for Dynamic Item Response Theory Model | predict_irt |
| Calculate Probabilities for Probit Unfolding Models | predict_pum |
| Preprocess Roll Call Data | preprocess_rollcall |
| Generate posterior samples from the dynamic probit unfolding model | sample_pum_dynamic |
| Generate posterior samples from the static probit unfolding model | sample_pum_static |
| U.S. Supreme Court Voting Data (1937-2021) | mqTime mqVotes scotus.1937.2021 |
| Generate Probability Samples for Voting "Yes" | tune_hyper |
