Implements the pseudo-R2D2 prior for ordinal regression from the paper "Pseudo-R2D2 prior for high-dimensional ordinal regression" by Yanchenko (2025) <doi:10.1007/s11222-025-10667-x>. 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.2 |
| 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-12-17 |
| 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 |
| Reference manual: | R2D2ordinal.html , R2D2ordinal.pdf |
| Vignettes: |
pR2D2ord prior for Ordinal Regression (source, R code) |
| Package source: | R2D2ordinal_1.0.2.tar.gz |
| Windows binaries: | r-devel: R2D2ordinal_1.0.2.zip, r-release: R2D2ordinal_1.0.2.zip, r-oldrel: R2D2ordinal_1.0.2.zip |
| macOS binaries: | r-release (arm64): R2D2ordinal_1.0.2.tgz, r-oldrel (arm64): R2D2ordinal_1.0.2.tgz, r-release (x86_64): R2D2ordinal_1.0.2.tgz, r-oldrel (x86_64): R2D2ordinal_1.0.2.tgz |
| Old sources: | R2D2ordinal archive |
Please use the canonical form https://CRAN.R-project.org/package=R2D2ordinal to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.