checksep_b: Separation check for binary models.

checksep_bR Documentation

Separation check for binary models.

Description

This function checks for (quasi-) complete separation. It is a low-level function for a response vector y and a design matrix X.

Usage

checksep_b(y, X, rational = FALSE, backend = c("rcdd", "ROI"), solver = NULL)

Arguments

y

outcome vector.

X

design matrix.

rational

should rational arithmetic be used.

backend

which backend to use for the linear program. Can be "rcdd" (default and only option for rational=TRUE) or "ROI".

solver

the solver to be used in the backend. Defaults to "DualSimplex" for "rcdd" and the first LP solver returned by 'ROI_applicable_solver()' for "ROI".

Value

a Boolean; either 'TRUE' if we detected separation or 'FALSE' if not.


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

Related to checksep_b in divoRce...