MCDMModel EvaluationClassification MetricMath steps

Specificity

Also known as: True Negative Rate, TNR

OriginatorHistorical statistical foundationsYear20th centurySources2Related methods10

Specificity measures the proportion of actual negative cases that were correctly identified as negative by the classifier. It answers the question: 'Of all the cases that were truly negative, how many did we correctly reject?' Specificity is complementary to recall and is essential when false positives are costly.

Key highlights

  • Directly measures the ability to correctly identify negative cases; high specificity means low false positive rate.
  • Interpretable: specificity = 1.0 means no false positives.
  • Essential for applications where false positives lead to costly downstream decisions.
  • Complements recall and precision to give a complete picture of classification performance.

Intuition

This section is available to Pro members. Upgrade to Pro

How it works

This section is available to Pro members. Upgrade to Pro

When to use it

Use specificity when false positives are costly or lead to unnecessary downstream actions. In medical screening, high specificity ensures healthy people are not misdiagnosed as sick, avoiding unnecessary treatment. In spam detection, high specificity ensures legitimate emails are not filtered. Specificity is less critical when false negatives (missing positive cases) are the primary concern.

Strengths & limitations

Strengths
  • Directly measures the ability to correctly identify negative cases; high specificity means low false positive rate.
  • Interpretable: specificity = 1.0 means no false positives.
  • Essential for applications where false positives lead to costly downstream decisions.
  • Complements recall and precision to give a complete picture of classification performance.
Limitations
  • Ignores false negatives; a model could have high specificity while missing many positive cases.
  • Can be artificially high if the model is overly conservative and rarely predicts positive.
  • Does not account for class imbalance or the relative costs of different error types.
  • Alone, specificity is incomplete without considering recall.

Common pitfalls

This section is available to Pro members. Upgrade to Pro

Applications

This section is available to Pro members. Upgrade to Pro

Frequently asked

What is the relationship between specificity and precision?

Specificity and precision both measure aspects of negative prediction quality, but they differ: specificity measures how well we identify actual negatives (true negative rate), while precision measures how often our positive predictions are correct. They answer different questions: 'Can we trust negative cases?' vs. 'Can we trust positive predictions?'

How does specificity relate to recall and balanced accuracy?

Recall and specificity are symmetric metrics: recall measures sensitivity to positive cases (true positive rate), while specificity measures sensitivity to negative cases (true negative rate). In binary classification, balanced accuracy is the average of recall and specificity: (recall + specificity) / 2, which weights both types of correct predictions equally.

Why might a model have high specificity but low recall?

A model with high specificity but low recall correctly identifies most negative cases (few false positives) but misses many positive cases (many false negatives). This occurs when the model is overly conservative, predicting positive only in cases where it is very confident. This is appropriate only when false positives are extremely costly and missing cases is acceptable.

Sources

  1. 1.
    Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861-874.
  2. 2.
    Powers, D. M. (2011). Evaluation: From Precision, Recall and F-Measure to ROC, Informedness, Markedness and Correlation. Journal of Machine Learning Technologies, 2(1), 37-63.

You have read it. What now?

Cite this page

ScholarGate. (2026, June 3). Specificity. ScholarGate. https://scholargate.app/model-evaluation/specificity

Specificity — Specificity (True Negative Rate) | ScholarGate