The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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>.
Version: | 2.3.2 |
Depends: | R (≥ 3.4.0) |
Imports: | colorspace, dplyr, future, future.apply, ggplot2, loo, matrixStats, methods, parallel, plyr, progressr, RColorBrewer, Rcpp (≥ 1.0.7), RcppParallel (≥ 5.1.4), rlang, rstan (≥ 2.26.1), rstantools (≥ 2.2.0), stats, tidyr |
LinkingTo: | BH (≥ 1.66.0), Rcpp (≥ 1.0.7), RcppEigen (≥ 0.3.3.9.1), RcppParallel (≥ 5.1.4), rstan (≥ 2.26.1), StanHeaders (≥ 2.26.22) |
Suggests: | data.table, knitr, rmarkdown |
Published: | 2024-09-23 |
DOI: | 10.32614/CRAN.package.hbamr |
Author: | Jørgen Bølstad [aut, cre] |
Maintainer: | Jørgen Bølstad <jorgen.bolstad at stv.uio.no> |
BugReports: | https://github.com/jbolstad/hbamr/issues |
License: | GPL (≥ 3) |
URL: | https://jbolstad.github.io/hbamr/ |
NeedsCompilation: | yes |
SystemRequirements: | GNU make |
Citation: | hbamr citation info |
Materials: | NEWS |
CRAN checks: | hbamr results |
Reference manual: | hbamr.pdf |
Vignettes: |
Hierarchical Bayesian Aldrich-McKelvey Scaling in R via Stan (source, R code) |
Package source: | hbamr_2.3.2.tar.gz |
Windows binaries: | r-devel: hbamr_2.3.2.zip, r-release: hbamr_2.3.2.zip, r-oldrel: hbamr_2.3.2.zip |
macOS binaries: | r-release (arm64): hbamr_2.3.2.tgz, r-oldrel (arm64): hbamr_2.3.2.tgz, r-release (x86_64): hbamr_2.3.2.tgz, r-oldrel (x86_64): hbamr_2.3.2.tgz |
Old sources: | hbamr archive |
Please use the canonical form https://CRAN.R-project.org/package=hbamr to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.