modeldiag: Comprehensive Diagnostics for Statistical Models

Provides a unified framework for diagnosing common issues in statistical models including linear models, generalized linear models (logistic and Poisson regression), and survival models. Implements tests for multicollinearity, heteroscedasticity, autocorrelation, normality, influential observations, overdispersion, zero-inflation, and proportional hazards assumptions. Includes visualization methods for graphical diagnostics. Methods are based on established approaches including Fox and Monette (1992) <doi:10.1080/01621459.1992.10475190>, Breusch and Pagan (1979) <doi:10.2307/1911963>, and Dean and Lawless (1989) <doi:10.1080/01621459.1989.10478792>.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: stats, graphics, car, lmtest, ResourceSelection, survival
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-05-28
DOI: 10.32614/CRAN.package.modeldiag (may not be active yet)
Author: Emmanuel Adewuyi [aut, cre], Adewale Lukman [aut], Abiola Owolabi [ctb]
Maintainer: Emmanuel Adewuyi <emmanuel.adewuyi at lshtm.ac.uk>
BugReports: https://github.com/Teniola17/modeldiag/issues
License: MIT + file LICENSE
URL: https://github.com/Teniola17/modeldiag
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: modeldiag results

Documentation:

Reference manual: modeldiag.html , modeldiag.pdf
Vignettes: Introduction to modeldiag (source, R code)

Downloads:

Package source: modeldiag_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): modeldiag_0.1.0.tgz, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=modeldiag to link to this page.