How many positives are correctly identified?
Sensitivity is the accuracy of positive events, given the condition/signal is present (“detection ability”).
E.g. how likely it is that a drug test classifies a drug-user as a drug-user.
Sensitivity alone is not sufficient, e.g. a test that is always positive would have 100% sensitivity, but terrible specificity.
Sensitivity / True Positive Rate (TPR) / Recall
What is another name for sensitivity (recall)?
What is another name for true positive rate?
What is the formula for recall?
Link to originalSensitivity and specificity
Assume a drug test which has 90% sensitivity (true positive rate or “recall”), i.e. the probability of a positive result given it’s a drug user .
And 80% specificity (true negative rate or “selectivity”), i.e. .This test is quite bad, 20% of non-users get a false positive. Let’s also say 10% of the population use the drug .
The probability of someone being a drug-user after testing positive is:So the probability that you did actually use the drug is only 33%. Even if the sensitivity is 1, we only reach ~35%.
This error gets better for more common events.This is also relevant for machine learning: We can get close to 100% accuracy just by ignoring very rare samples (high sensitivity, low specificity).