LogisticRegressionModel.SeparationStatus Property

Gets the advisory separation diagnostic for the published logistic fit.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
public SeparationStatus SeparationStatus { get; }

Property Value

SeparationStatus

Remarks

The value is NotChecked before fitting and after reset, or when nonfinite fitted parameters or scores prevent checking. A failed refit preserves the diagnostic of any previously published fit, consistently with other fitted results. Deployment makes the diagnostic unavailable.

The check runs once after binary or nominal fitting. It ignores zero-weight rows, but includes every strictly positive weight. Confirmed separation requires strictly positive signed binary scores, or an actual-class score greater than every alternative nominal score, using the published coefficients and allowing for rounding uncertainty. A nontrivial weak direction with boundary observations is reported as suspected.

This is a sufficient, incomplete check. NotDetected does not certify a finite maximum-likelihood estimate. Probabilities and coefficient magnitudes alone do not determine the result. The diagnostic does not change fitting or inference and is independent of SolutionReport and its convergence status.

Exceptions

InvalidOperationExceptionThe model is deployed.

See Also