detectseparation: Detect and Check for Separation and Infinite Maximum Likelihood Estimates

Provides pre-fit and post-fit methods for detecting separation and infinite maximum likelihood estimates in generalized linear models with categorical responses. The pre-fit methods apply on binomial-response generalized liner models such as logit, probit and cloglog regression, and can be directly supplied as fitting methods to the glm() function. They solve the linear programming problems for the detection of separation developed in Konis (2007, <https://ora.ox.ac.uk/objects/uuid:8f9ee0d0-d78e-4101-9ab4-f9cbceed2a2a>) using 'ROI' <https://cran.r-project.org/package=ROI> or 'lpSolveAPI' <https://cran.r-project.org/package=lpSolveAPI>. The post-fit methods apply to models with categorical responses, including binomial-response generalized linear models and multinomial-response models, such as baseline category logits and adjacent category logits models; for example, the models implemented in the 'brglm2' <https://cran.r-project.org/package=brglm2> package. The post-fit methods successively refit the model with increasing number of iteratively reweighted least squares iterations, and monitor the ratio of the estimated standard error for each parameter to what it has been in the first iteration. According to the results in Lesaffre & Albert (1989, <https://www.jstor.org/stable/2345845>), divergence of those ratios indicates data separation.

Version: 0.2
Depends: R (≥ 3.3.0)
Imports: ROI, ROI.plugin.lpsolve, lpSolveAPI, pkgload
Suggests: testthat, knitr, rmarkdown, covr, brglm2, AER, ROI.plugin.ecos, ROI.plugin.glpk, ROI.plugin.neos, ROI.plugin.alabama
Published: 2021-04-22
Author: Ioannis Kosmidis ORCID iD [aut, cre], Dirk Schumacher [aut], Kjell Konis [ctb]
Maintainer: Ioannis Kosmidis <ioannis.kosmidis at warwick.ac.uk>
BugReports: https://github.com/ikosmidis/detectseparation/issues
License: GPL-3
URL: https://github.com/ikosmidis/detectseparation
NeedsCompilation: no
Materials: README NEWS
CRAN checks: detectseparation results

Documentation:

Reference manual: detectseparation.pdf
Vignettes: Detecting separation and infinite estimates in logistic regression

Downloads:

Package source: detectseparation_0.2.tar.gz
Windows binaries: r-devel: detectseparation_0.2.zip, r-release: detectseparation_0.2.zip, r-oldrel: detectseparation_0.2.zip
macOS binaries: r-release (arm64): detectseparation_0.2.tgz, r-oldrel (arm64): detectseparation_0.2.tgz, r-release (x86_64): detectseparation_0.2.tgz, r-oldrel (x86_64): detectseparation_0.2.tgz
Old sources: detectseparation archive

Reverse dependencies:

Reverse imports: corncob
Reverse suggests: brglm2

Linking:

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