Learn R Programming

riskdiff (version 0.2.1)

.detect_separation: Detect Complete or Quasi-Separation

Description

Detects complete or quasi-separation in logistic-type models, which can cause boundary issues in parameter estimation.

Usage

.detect_separation(model, data, verbose = FALSE)

Value

Logical indicating if separation was detected

Arguments

model

A fitted GLM object

data

The data used to fit the model

verbose

Logical for diagnostic output