hbamr
Hierarchical Bayesian Aldrich-McKelvey Scaling via 'Stan'
Description
Perform hierarchical Bayesian Aldrich-McKelvey scaling using Hamiltonian Monte Carlo via 'Stan'. Aldrich-McKelvey ('AM') scaling is a method for estimating the ideological positions of survey respondents and political actors on a common scale using positional survey data. The hierarchical versions of the Bayesian 'AM' model included in this package outperform other versions both in terms of yielding meaningful posterior distributions for respondent positions and in terms of recovering true respondent positions in simulations. The package contains functions for preparing data, fitting models, extracting estimates, plotting key results, and comparing models using cross-validation. The original version of the default model is described in Bølstad (2024) <doi:10.1017/pan.2023.18>.
Downloads
427
Last 30 days
8074th
427
Last 90 days
427
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (16 non-OK)
*
*
*
*
*
*
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
installed package size
installed size is 84.8Mb
sub-directories of 1Mb or more:
libs 83.4Mb
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
installed package size
installed size is 87.2Mb
sub-directories of 1Mb or more:
libs 85.8Mb
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
*
*
*
*
*
Check History
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
installed package size
installed size is 84.8Mb
sub-directories of 1Mb or more:
libs 83.4Mb
installed package size
installed size is 87.2Mb
sub-directories of 1Mb or more:
libs 85.8Mb
for GNU extensions in Makefiles
GNU make is a SystemRequirements.