Package: R2D2ordinal 1.0.1

Eric Yanchenko

R2D2ordinal: Implements Pseudo-R2D2 Prior for Ordinal Regression

Implements the pseudo-R2D2 prior for ordinal regression from the paper "Psuedo-R2D2 prior for high-dimensional ordinal regression" by Yanchenko (2025) <doi:10.48550/arXiv.2502.17491>. 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:Eric Yanchenko [aut, cre]

R2D2ordinal_1.0.1.tar.gz
R2D2ordinal_1.0.1.tar.gz(r-4.5-noble)R2D2ordinal_1.0.1.tar.gz(r-4.4-noble)
R2D2ordinal.pdf |R2D2ordinal.html
R2D2ordinal/json (API)

# Install 'R2D2ordinal' in R:
install.packages('R2D2ordinal', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

2.30 score 180 downloads 5 exports 56 dependencies

Last updated 8 days agofrom:296ff9468f. Checks:2 OK, 1 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 18 2025
R-4.5-linux-x86_64OKMar 18 2025
R-4.4-linux-x86_64NOTEMar 18 2025

Exports:dcutfind_paramllikeord_r2d2r2_mc

Dependencies:abindbackportsBHcallrcheckmateclicolorspacedescdistributionalextraDistrfansifarvergenericsggplot2GIGrvggluegridExtragtableinlineisobandlabelingLaplacesDemonlatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsscalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

pR2D2ord prior for Ordinal Regression

Rendered fromoverview.Rmdusingknitr::rmarkdownon Mar 18 2025.

Last update: 2025-02-27
Started: 2025-02-27