divoRce: Diagnosing Separation Phenomena in Categorical Response Models

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.

Getting started

Package details

AuthorThomas 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>)
MaintainerThomas Rusch <thomas.rusch@wu.ac.at>
LicenseGPL-2 | GPL-3
Version0.7-0
Package repositoryView on R-Forge
Installation Install the latest version of this package by entering the following in R:
install.packages("divoRce", repos="http://R-Forge.R-project.org")

Try the divoRce package in your browser

Any scripts or data that you put into this service are public.

divoRce documentation built on April 28, 2026, 3:01 a.m.