R2D2ordinal: Implements Pseudo-R2D2 Prior for Ordinal Regression

Implements the pseudo-R2D2 prior for ordinal regression from the paper "Psuedo-R2D2 prior for high-dimensional ordinal regression" by Yanchenko (2025) <doi:10.48550/arXiv.2502.17491>. In particular, it provides code to evaluate the probability distribution function for the cut-points, compute the log-likelihood, calculate the hyper-parameters for the global variance parameter, find the distribution of McFadden's coefficient-of-determination, and fit the model in 'rstan'. Please cite the paper if you use these codes.

Version: 1.0.0
Depends: R (≥ 3.5.0)
Imports: extraDistr (≥ 1.10.0), GIGrvg (≥ 0.8), LaplacesDemon (≥ 16.1.6), methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), rstantools (≥ 2.4.0)
LinkingTo: BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0)
Suggests: knitr, rmarkdown, ggplot2, dplyr
Published: 2025-02-27
DOI: 10.32614/CRAN.package.R2D2ordinal
Author: Eric Yanchenko [aut, cre]
Maintainer: Eric Yanchenko <eyanchenko at aiu.ac.jp>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: GNU make
CRAN checks: R2D2ordinal results

Documentation:

Reference manual: R2D2ordinal.pdf
Vignettes: pR2D2ord prior for Ordinal Regression (source, R code)

Downloads:

Package source: R2D2ordinal_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: R2D2ordinal_1.0.0.zip
macOS binaries: r-devel (arm64): R2D2ordinal_1.0.0.tgz, r-release (arm64): R2D2ordinal_1.0.0.tgz, r-oldrel (arm64): R2D2ordinal_1.0.0.tgz, r-devel (x86_64): R2D2ordinal_1.0.0.tgz, r-release (x86_64): R2D2ordinal_1.0.0.tgz, r-oldrel (x86_64): R2D2ordinal_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=R2D2ordinal to link to this page.