Package: divoRce
Title: Diagnosing Separation Phenomena in Categorical Response Models
Version: 0.9-0
Authors@R: c(
    person(given="Thomas", family="Rusch", email="thomas.rusch@wu.ac.at", role = c("aut","cre"), comment = c(ORCID = "0000-0002-7773-2096")),
    person(given="Lukas",family="Sablica", role = c("aut"), comment = c(ORCID = "0000-0001-9166-4563")),
    person(given="Kurt",family="Hornik", role = c("aut"), comment = c(ORCID = "0000-0003-4198-9911")))
Maintainer: Thomas Rusch <thomas.rusch@wu.ac.at>
Description: Utilities for checking and diagnosing separation phenomena (complete separation, quasi-complete separation, overlap) for binary, nominal and ordinal data models with link construction as baseline-category, adjacent-category, cumulative, sequential (continuation-ratio), ordered stereotype and arbitrary link error distribution (including logit, probit, cauchit, cloglog, loglog, log amongst others). The package functionality includes a check for separation and a check for overlap with a linear program, a quick check for overlap, a sequential check for overlap based on subsamples, detailed separation diagnostics such as identification of columns in the design matrix/structure vector matrix that lead to separation, identification of design matrix/structure vector matrix rows that lead to separation, the dimension of the recession cone and the structure vectors that are linearities. Calculations can be done with rcdd to employ arbitrary precision and various other lp-solvers can also be used via ROI. Implemented checks can be done before model fitting based on outcome and design matrix or structure vector matrix or via formula (pre-fit), or after model fitting for objects of class glm, multinom, polr, osm, clm, bracl, brmultinom. Wrappers for other classes can be easily constructed by third parties via pre-fit functions.
Depends: R (>= 3.5.0)
Imports: rcdd
Suggests: clustord, detectseparation, MASS, nnet, ordinal, ROI
License: GPL-2 | GPL-3
LazyData: true
Encoding: UTF-8
Config/roxygen2/version: 8.0.0
Author: Thomas Rusch [aut, cre] (<https://orcid.org/0000-0002-7773-2096>),
  Lukas Sablica [aut] (<https://orcid.org/0000-0001-9166-4563>),
  Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>)
Repository: R-Forge
Repository/R-Forge/Project: divorce
Repository/R-Forge/Revision: 56
Repository/R-Forge/DateTimeStamp: 2026-05-21 10:22:22
Date/Publication: 2026-05-21 10:22:22
NeedsCompilation: no
Packaged: 2026-05-21 10:44:03 UTC; rforge
