Package: R2D2ordinal 1.0.2

Eric Yanchenko
R2D2ordinal: Implements Pseudo-R2D2 Prior for Ordinal Regression
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.
Authors:
R2D2ordinal_1.0.2.tar.gz
R2D2ordinal_1.0.2.tar.gz(r-4.7-arm64)R2D2ordinal_1.0.2.tar.gz(r-4.7-x86_64)R2D2ordinal_1.0.2.tar.gz(r-4.6-arm64)R2D2ordinal_1.0.2.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
R2D2ordinal/json (API)
| # Install 'R2D2ordinal' in R: |
| install.packages('R2D2ordinal', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:ef2ed4045c. Checks:5 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 228 | ||
| linux-devel-x86_64 | OK | 262 | ||
| source / vignettes | OK | 367 | ||
| linux-release-arm64 | OK | 295 | ||
| linux-release-x86_64 | OK | 255 | ||
| wasm-release | FAIL | 160 |
Exports:dcutfind_paramllikeord_r2d2r2_mc
Dependencies:abindbackportsBHcallrcheckmateclicpp11descdistributionalextraDistrfarvergenericsggplot2GIGrvggluegridExtragtableinlineisobandlabelingLaplacesDemonlifecycleloomagrittrmatrixStatsnumDerivotelpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelrlangrstanrstantoolsS7scalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| PDF of cut-points | dcut |
| Find optimal GIG parameters for W prior | find_param |
| Log-Likelihood for ordinal regression | llike |
| Ordinal regression in Stan with R2D2 prior | ord_r2d2 |
| Posterior distribution of McFadden's R2 | r2_mc |