Package: sure 0.2.2.9000
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:https://doi.org/10.1080/01621459.2017.1292915>) and Greenwell et al. (2017, <https://journal.r-project.org/archive/2018/RJ-2018-004/index.html>). 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.
Authors:
sure_0.2.2.9000.tar.gz
sure_0.2.2.9000.zip(r-4.5)sure_0.2.2.9000.zip(r-4.4)sure_0.2.2.9000.zip(r-4.3)
sure_0.2.2.9000.tgz(r-4.4-any)sure_0.2.2.9000.tgz(r-4.3-any)
sure_0.2.2.9000.tar.gz(r-4.5-noble)sure_0.2.2.9000.tar.gz(r-4.4-noble)
sure_0.2.2.9000.tgz(r-4.4-emscripten)sure_0.2.2.9000.tgz(r-4.3-emscripten)
sure.pdf |sure.html✨
sure/json (API)
NEWS
# Install 'sure' in R: |
install.packages('sure', repos = c('https://koalaverse.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/koalaverse/sure/issues
categorical-datadiagnosticsordinal-regressionresiduals
Last updated 5 years agofrom:e8e0bba5ec. Checks:ERROR: 1 WARNING: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | FAIL | Nov 11 2024 |
R-4.5-win | WARNING | Nov 11 2024 |
R-4.5-linux | WARNING | Nov 11 2024 |
R-4.4-win | WARNING | Nov 11 2024 |
R-4.4-mac | WARNING | Nov 11 2024 |
R-4.3-win | WARNING | Nov 11 2024 |
R-4.3-mac | WARNING | Nov 11 2024 |
Exports:autoplot.clmautoplot.glmautoplot.lrmautoplot.ormautoplot.polrautoplot.residautoplot.vglmgofgrid.arrangeresidssurrogate
Dependencies:clicolorspacefansifarverggplot2gluegoftestgridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Residual plots | autoplot.clm autoplot.glm autoplot.lrm autoplot.orm autoplot.polr autoplot.resid autoplot.vglm |
Simulated quadratic data | df1 |
Simulated heteroscedastic data | df2 |
Simulated Gumbel data | df3 |
Simulated proportionality data | df4 |
Simulated interaction data | df5 |
Goodness-of-Fit Simulation | gof gof.default plot.gof |
Surrogate residuals | resids |
sure: An R package for constructing surrogate-based residuals and diagnostics for ordinal and general regression models. | sure |
Surrogate response | surrogate |