sure: Surrogate Residuals
An R package for constructing SUrrogate-based REsiduals and diagnostics for ordinal and general regression models; based on the approach described in Dungang and Zhang (2017).
Installation
The sure
package is currently only available from GitHub, but can easilly be installed using devtools
:
if (!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("AFIT-R/sure")
Note: This package is still in development, use at your own risk!
References
Liu, Dungang and Zhang, Heping. Residuals and Diagnostics for Ordinal Regression Models: A Surrogate Approach. Journal of the American Statistical Association (accepted). URL http://www.tandfonline.com/doi/abs/10.1080/01621459.2017.1292915?journalCode=uasa20