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). For more details see Hosmer (1980) <doi:10.1080/03610928008827941> and Farrington (1996) <doi:10.1111/j.2517-6161.1996.tb02086.x>.
| Version: | 1.0.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | stats |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown, ResourceSelection, ggplot2 |
| Published: | 2025-09-01 |
| DOI: | 10.32614/CRAN.package.ebrahim.gof |
| Author: | Ebrahim Khaled Ebrahim [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 |
| Materials: | README, NEWS |
| CRAN checks: | ebrahim.gof results |
| Reference manual: | ebrahim.gof.html , ebrahim.gof.pdf |
| Vignettes: |
Introduction to the Ebrahim-Farrington Goodness-of-Fit Test (source, R code) |
| Package source: | ebrahim.gof_1.0.0.tar.gz |
| Windows binaries: | r-devel: ebrahim.gof_1.0.0.zip, r-release: ebrahim.gof_1.0.0.zip, r-oldrel: ebrahim.gof_1.0.0.zip |
| macOS binaries: | r-release (arm64): ebrahim.gof_1.0.0.tgz, r-oldrel (arm64): ebrahim.gof_1.0.0.tgz, r-release (x86_64): ebrahim.gof_1.0.0.tgz, r-oldrel (x86_64): ebrahim.gof_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=ebrahim.gof to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.