Calculate True Negative Rate
The True Negative Rate (TNR), also known as Specificity, measures the proportion of actual negatives that were correctly identified. It's a key metric in evaluating the performance of classification models, particularly in medical testing and machine learning.
What is True Negative Rate?
The True Negative Rate (TNR) is a statistical measure used to evaluate the performance of a binary classification test. It represents the proportion of actual negative cases that were correctly identified as negative by the test.
In simpler terms, TNR answers the question: "When the actual condition is negative, how often does the test correctly identify it as negative?"
Key Points
- TNR is also known as Specificity
- It measures the ability of a test to correctly identify negative results
- Higher TNR indicates better test performance for negative cases
- TNR is complementary to the True Positive Rate (TPR)
How to Calculate True Negative Rate
The formula for calculating True Negative Rate is straightforward:
Formula
TNR = TN / (TN + FP)
Where:
- TN = True Negatives
- FP = False Positives
The result is typically expressed as a decimal between 0 and 1, or as a percentage when multiplied by 100.
Assumptions
- The test is binary (only two possible outcomes)
- All cases are correctly classified as either positive or negative
- There are no missing or ambiguous cases
Interpreting the True Negative Rate
Interpreting TNR requires understanding its relationship with other metrics:
| TNR Value | Interpretation |
|---|---|
| 0.90 (90%) | Excellent - The test correctly identifies 90% of negative cases |
| 0.80 (80%) | Good - The test performs well for negative cases |
| 0.70 (70%) | Fair - The test has some room for improvement |
| Below 0.70 (70%) | Poor - The test frequently misclassifies negative cases |
It's important to consider TNR in conjunction with other metrics like True Positive Rate (TPR) and Accuracy to get a complete picture of test performance.
Worked Example
Let's calculate TNR for a medical test that screens for a disease:
- True Negatives (TN): 450 patients correctly identified as not having the disease
- False Positives (FP): 50 patients incorrectly identified as having the disease
Using the formula:
Calculation
TNR = TN / (TN + FP) = 450 / (450 + 50) = 450 / 500 = 0.90
This means the test correctly identifies 90% of patients who do not have the disease.
Frequently Asked Questions
What is the difference between True Negative Rate and False Positive Rate?
The True Negative Rate (TNR) measures how well a test identifies actual negatives, while the False Positive Rate (FPR) measures how often the test incorrectly identifies negatives as positives. They are complementary metrics that together provide a complete picture of test performance.
How does True Negative Rate relate to Sensitivity?
Sensitivity (also called True Positive Rate) measures how well a test identifies actual positives, while TNR measures how well it identifies actual negatives. Together, they provide a balanced view of the test's performance.
What is a good True Negative Rate?
A good TNR depends on the specific application. In medical testing, values above 0.90 (90%) are generally considered excellent, while values below 0.70 (70%) indicate poor performance for identifying negative cases.
Can True Negative Rate be improved?
Yes, TNR can often be improved through better test design, more accurate measurements, or additional screening steps. However, improvements in TNR may come at the cost of reduced Sensitivity or increased False Positives.