Package: ebrahim.gof 2.0.0

Ebrahim Khaled Ebrahim

ebrahim.gof: Ebrahim-Farrington Goodness-of-Fit Test for Logistic Regression

Implements the Ebrahim-Farrington goodness-of-fit test for logistic regression models, particularly effective for sparse data and binary outcomes. This test provides an improved alternative to the traditional Hosmer-Lemeshow test by using a modified Pearson chi-square statistic with data-dependent grouping. The test is based on Farrington (1996) theoretical framework but simplified for practical implementation with binary data. Includes functions for both the original Farrington test (for grouped data) and the new Ebrahim-Farrington test (for binary data with automatic grouping), the Directed Ebrahim-Farrington (DEF) test that targets calibration-shape departures, and an ensemble that combines the DEF bases via the Cauchy combination test. For more details see Hosmer (1980) <doi:10.1080/03610928008827941> and Farrington (1996) <doi:10.1111/j.2517-6161.1996.tb02086.x>.

Authors:Ebrahim Khaled Ebrahim [aut, cre]

ebrahim.gof_2.0.0.tar.gz
ebrahim.gof_2.0.0.zip(r-4.7)ebrahim.gof_2.0.0.zip(r-4.6)ebrahim.gof_2.0.0.zip(r-4.5)
ebrahim.gof_2.0.0.tgz(r-4.6-any)ebrahim.gof_2.0.0.tgz(r-4.5-any)
ebrahim.gof_2.0.0.tar.gz(r-4.7-any)ebrahim.gof_2.0.0.tar.gz(r-4.6-any)
ebrahim.gof_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ebrahim.gof/json (API)
NEWS

# Install 'ebrahim.gof' in R:
install.packages('ebrahim.gof', repos = c('https://ebrahimkhaled.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ebrahimkhaled/ebrahim.gof/issues

On CRAN:

Conda:

4.00 score 99 downloads 4 exports 0 dependencies

Last updated from:fd8b2556d4. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK287
source / vignettesOK167
linux-release-x86_64OK280
macos-release-arm64OK298
macos-oldrel-arm64OK173
windows-develOK246
windows-releaseOK251
windows-oldrelOK261
wasm-releaseOK101

Exports:def.ensemble.gofdef.gofef.gofrun.all.gof

Dependencies:

Introduction to the Ebrahim-Farrington Goodness-of-Fit Test

Rendered fromebrahim-farrington-intro.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-09
Started: 2025-08-04