Crandore Hub

sure

Surrogate Residuals for Ordinal and General Regression Models

An implementation of the surrogate approach to residuals and diagnostics for ordinal and general regression models; for details, see Liu and Zhang (2017) <doi:10.1080/01621459.2017.1292915>. These residuals can be used to construct standard residual plots for model diagnostics (e.g., residual-vs-fitted value plots, residual-vs-covariate plots, Q-Q plots, etc.). The package also provides an 'autoplot' function for producing standard diagnostic plots using 'ggplot2' graphics. The package currently supports cumulative link models from packages 'MASS', 'ordinal', 'rms', and 'VGAM'. Support for binary regression models using the standard 'glm' function is also available.

Versions across snapshots

VersionRepositoryFileSize
0.2.0 rolling linux/jammy R-4.5 sure_0.2.0.tar.gz 137.1 KiB
0.2.0 rolling linux/noble R-4.5 sure_0.2.0.tar.gz 136.6 KiB
0.2.0 rolling source/ R- sure_0.2.0.tar.gz 172.5 KiB
0.2.0 latest linux/jammy R-4.5 sure_0.2.0.tar.gz 137.1 KiB
0.2.0 latest linux/noble R-4.5 sure_0.2.0.tar.gz 136.6 KiB
0.2.0 latest source/ R- sure_0.2.0.tar.gz 172.5 KiB
0.2.0 2026-04-26 source/ R- sure_0.2.0.tar.gz 172.5 KiB
0.2.0 2026-04-23 source/ R- sure_0.2.0.tar.gz 172.5 KiB
0.2.0 2026-04-09 windows/windows R-4.5 sure_0.2.0.zip 140.3 KiB
0.2.0 2025-04-20 source/ R- sure_0.2.0.tar.gz 172.5 KiB

Dependencies (latest)

Imports

Suggests