Learn R Programming

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

Copy Link

Version

Install

install.packages('sure')

Monthly Downloads

531

Version

0.1.2

License

GPL (>= 2)

Maintainer

Brandon Greenwell

Last Published

August 20th, 2017

Functions in sure (0.1.2)

autoplot.resid

Residual Plots for Cumulative Link and General Regression Models
df1

Simulated Quadratic Data
resids

Surrogate Residuals
sure

sure: An R package for constructing surrogate-based residuals and diagnostics for ordinal and general regression models.
df2

Simulated Heteroscedastic Data
df3

Simulated Gumbel Data
gof

Goodness-of-Fit Simulation
grid.arrange

Arrange multiple grobs on a page