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:
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')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 8 days agofrom:296ff9468f. Checks:2 OK, 1 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 18 2025 |
R-4.5-linux-x86_64 | OK | Mar 18 2025 |
R-4.4-linux-x86_64 | NOTE | Mar 18 2025 |
Exports:dcutfind_paramllikeord_r2d2r2_mc
Dependencies:abindbackportsBHcallrcheckmateclicolorspacedescdistributionalextraDistrfansifarvergenericsggplot2GIGrvggluegridExtragtableinlineisobandlabelingLaplacesDemonlatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsscalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr
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 |