divoRce: Diagnosing Separation Phenomena in Latent Polyhedral Categorical Response Models

Utilities for checking and diagnosing separation phenomena (complete separation, quasi-complete separation, overlap) for latent polyhedral categorical response models including 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) based on structure vectors as described in Sablica, Hornik, Rusch (2026) <doi:10.48550/arXiv.2610.08100> and Rusch, Sablica, Hornik (2026) <doi:10.48550/arXiv.2610.09951>. The package functionality includes a check for separation and a check for overlap with a linear program, a quick check for overlap, a sequential and a parallel 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 package 'rcdd' to employ arbitrary precision and various other linear program solvers can also be used via package '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.

Version: 1.0-2
Depends: R (≥ 3.5.0)
Imports: rcdd
Suggests: clustord, detectseparation, MASS, nnet, ordinal, ROI
Published: 2026-10-18
DOI: 10.32614/CRAN.package.divoRce (may not be active yet)
Author: Thomas Rusch ORCID iD [aut, cre], Lukas Sablica ORCID iD [aut], Kurt Hornik ORCID iD [aut]
Maintainer: Thomas Rusch <thomas.rusch at wu.ac.at>
License: GPL-2 | GPL-3
NeedsCompilation: no
Materials: NEWS
CRAN checks: divoRce results

Documentation:

Reference manual: divoRce.html , divoRce.pdf

Downloads:

Package source: divoRce_1.0-2.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): divoRce_1.0-2.tgz, r-oldrel (x86_64): divoRce_1.0-2.tgz

Linking:

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