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.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.0.2 |
rolling linux/jammy R-4.5 | R2D2ordinal_1.0.2.tar.gz |
665.6 KiB |
1.0.2 |
rolling linux/noble R-4.5 | R2D2ordinal_1.0.2.tar.gz |
675.2 KiB |
1.0.2 |
rolling source/ R- | R2D2ordinal_1.0.2.tar.gz |
1.9 MiB |
1.0.2 |
latest linux/jammy R-4.5 | R2D2ordinal_1.0.2.tar.gz |
665.6 KiB |
1.0.2 |
latest linux/noble R-4.5 | R2D2ordinal_1.0.2.tar.gz |
675.2 KiB |
1.0.2 |
latest source/ R- | R2D2ordinal_1.0.2.tar.gz |
1.9 MiB |
1.0.2 |
2026-04-26 source/ R- | R2D2ordinal_1.0.2.tar.gz |
1.9 MiB |
1.0.2 |
2026-04-23 source/ R- | R2D2ordinal_1.0.2.tar.gz |
1.9 MiB |
1.0.2 |
2026-04-09 windows/windows R-4.5 | R2D2ordinal_1.0.2.zip |
960.5 KiB |
1.0.1 |
2025-04-20 source/ R- | R2D2ordinal_1.0.1.tar.gz |
1.9 MiB |
Dependencies (latest)
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)