Skip to content
EvalSuite
Documentation menu

Clinical

Negative likelihood ratio

Implementedclinical.lr_negative

Definition

How much a negative result decreases the odds of the condition.

Formula

LR− = (1 − Sensitivity) / Specificity

Range: [0, ∞)

Inputs and outputs

  • y_true: binary reference standard
  • y_pred: binary test result

Returns: float

Assumptions

No assumptions beyond valid, aligned inputs of the documented types.

Limitations

No metric-specific limitations are documented yet. Interpret the value alongside the task, data, and other metrics.

Python API

PythonSince v0.2.0
import evalsuite as es

es.lr_negative(y_true, y_pred)

References

Primary references for this entry have not been added yet.

Implementation status