Skip to content

R2D2ordinal

Implements Pseudo-R2D2 Prior for Ordinal Regression

v1.0.2 · Dec 17, 2025 · MIT + file LICENSE

Description

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.

Downloads

222

Last 30 days

20654th

626

Last 90 days

2.3K

Last year

Trend: -5.5% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (5 non-OK)
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 43.4Mb
  sub-directories of 1Mb or more:
    libs  43.1Mb
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 44.7Mb
  sub-directories of 1Mb or more:
    libs  44.4Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 43.4Mb
  sub-directories of 1Mb or more:
    libs  43.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 44.7Mb
  sub-directories of 1Mb or more:
    libs  44.4Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.

Dependency Network

Dependencies Reverse dependencies extraDistr GIGrvg LaplacesDemon (>= 16.1.6) Rcpp RcppParallel rstan rstantools R2D2ordinal

Version History

new 1.0.2 Mar 10, 2026
updated 1.0.2 ← 1.0.1 diff Dec 16, 2025
updated 1.0.1 ← 1.0.0 diff Mar 17, 2025
new 1.0.0 Feb 26, 2025