ebrahim.gof: Goodness-of-Fit and Calibration Tests for Logistic Regression

Provides a unified battery of goodness-of-fit and calibration tests for binary logistic regression, runnable in a single call via 'run.all.gof()'. The package introduces the author's own tests aimed at sparse data — the omnibus Ebrahim-Farrington (EF) test, the Directed EF ('EDGE') test that targets smooth calibration-shape departures, and a Cauchy-combination ensemble — and aggregates a wide range of classical and modern tests for comparison, including Hosmer-Lemeshow, McCullagh, Osius-Rojek, le Cessie-van Houwelingen, Stute-Zhu, the binary-adaptive 'BAGofT' test, and the 'GiViTI' calibration test (each obtained from its own package, where installed, and attributed to its authors). The tools are particularly suited to sparse data, where the Hosmer-Lemeshow test loses power. For more details see Hosmer (1980) <doi:10.1080/03610928008827941> and Farrington (1996) <doi:10.1111/j.2517-6161.1996.tb02086.x>.

Version: 2.4.0
Depends: R (≥ 3.5.0)
Imports: parallel, stats
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, ResourceSelection, ggplot2, CompQuadForm, statmod, mgcv, BAGofT, givitiR, callr
Published: 2026-07-22
DOI: 10.32614/CRAN.package.ebrahim.gof
Author: Ebrahim Khaled Ebrahim ORCID iD [aut, cre]
Maintainer: Ebrahim Khaled Ebrahim <ebrahimkhaled at alexu.edu.eg>
BugReports: https://github.com/ebrahimkhaled/ebrahim.gof/issues
License: GPL-3
URL: https://github.com/ebrahimkhaled/ebrahim.gof
NeedsCompilation: no
Citation: ebrahim.gof citation info
Materials: README, NEWS
CRAN checks: ebrahim.gof results

Documentation:

Reference manual: ebrahim.gof.html , ebrahim.gof.pdf
Vignettes: Introduction to the Ebrahim-Farrington Goodness-of-Fit Test (source, R code)
A goodness-of-fit and calibration toolbox for logistic regression (source, R code)

Downloads:

Package source: ebrahim.gof_2.4.0.tar.gz
Windows binaries: r-devel: ebrahim.gof_2.1.0.zip, r-release: ebrahim.gof_2.1.0.zip, r-oldrel: ebrahim.gof_2.1.0.zip
macOS binaries: r-release (arm64): ebrahim.gof_2.4.0.tgz, r-oldrel (arm64): ebrahim.gof_2.4.0.tgz, r-release (x86_64): ebrahim.gof_2.4.0.tgz, r-oldrel (x86_64): ebrahim.gof_2.4.0.tgz
Old sources: ebrahim.gof archive

Linking:

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