View source: R/internal_multinomial.R
| check_separation | R Documentation |
Issues a warning when separation is detected. Because fastglm uses
IWLS and stops at its iteration limit rather than diverging to Inf,
separation is identified by two complementary signals:
Any coefficient with |coef| > 25 (logit > 25 implies
P > 1 - 1e-11, unreachable without separation).
Non-finite coefficients (Inf/-Inf/NaN),
which can occur with other solvers.
check_separation(model, label = "logistic regression")
model |
a fastglm model object |
label |
a short string identifying the model (used in the warning message) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.