Crandore Hub

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

VersionRepositoryFileSize
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

LinkingTo

Suggests