sure {sure} | R Documentation |
sure: An R package for constructing surrogate-based residuals and diagnostics for ordinal and general regression models.
Description
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
.
Details
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 usingggplot2
-based graphics;gof
- simulate p-values from a goodness-of-fit test.
References
Liu, Dungang and Zhang, Heping. Residuals and Diagnostics for Ordinal Regression Models: A Surrogate Approach. Journal of the American Statistical Association (accepted).
[Package sure version 0.2.0 Index]