R/sure.R
sure.Rd
The sure
package provides surrogate-based residuals for fitted ordinal
and general (e.g., binary) regression models of class
clm
, glm
, lrm
,
orm
, polr
, or
vglm
.
The development version can be found on GitHub:
https://github.com/AFIT-R/sure. As of right now, sure
exports the
following functions:
resids
- construct (surrogate-based) residuals;
autoplot
- plot diagnostics using
ggplot2
-based graphics;
gof
- simulate p-values from a goodness-of-fit test.
Liu, Dungang and Zhang, Heping. Residuals and Diagnostics for Ordinal Regression Models: A Surrogate Approach. Journal of the American Statistical Association (accepted).