Sensitivity and Specificity For Dummies Sensitivity and Specificity Definition Sensitivity and Specificity Formula Sensitivity and Specificity Ppt Presentation Positive Predictive Value How to Calculate Sensitivity and Specificity Epidemiology Sensitivity and Specificity Define Specificity and Sensitivity
| Sensitivity and Specificity For Dummies | Sensitivity and Specificity Definition | Sensitivity and Specificity Formula | Sensitivity and Specificity Ppt Presentation | Positive Predictive Value | How to Calculate Sensitivity and Specificity | Epidemiology Sensitivity and Specificity | Define Specificity and Sensitivity |
| Sensitivity_and_specificity | Binary_classification | Accuracy_and_precision | Receiver_operating_characteristic | Precision_and_recall | Likelihood_ratios_in_diagnostic_testing | Confusion_matrix | False_discovery_rate | Statistical_hypothesis_testing | Saliva_testing | Sensitivity | Computer-aided_diagnosis | Fecal_occult_blood | Bias_(statistics) | Locked_nucleic_acid | Classification_rule | CDR_computerized_assessment_system | Hemodialysis_product |
Sensitivity and specificity are statistical measures of the performance of a Bayes error rate.
For any test, there is usually a trade-off between the measures. For example: in an airport security setting in which one is testing for potential threats to safety, scanners may be set to trigger on low-risk items like belt buckles and keys (low specificity), in order to reduce the risk of missing objects that do pose a threat to the aircraft and those aboard (high sensitivity). This trade-off can be represented graphically as a receiver operating characteristic curve.
Source: Fawcett (2006).
Imagine a study evaluating a new test that screens people for a disease. Each person taking the test either has or does not have the disease. The test outcome can be positive (predicting that the person has the disease) or negative (predicting that the person does not have the disease). The test results for each subject may or may not match the subject's actual status. In that setting:
In general, Positive = identified and negative = rejected. Therefore:
(as determined by "Gold standard")
|Condition positive||Condition negative|
|True positive||False positive
(Type I error)
Σ True positive
(Type II error)
|True negative||Negative predictive value =
Σ True negative
Σ True positive
Σ True negative
Sensitivity relates to the test's ability to identify positive results.
The sensitivity of a test is the proportion of people that are known to have the disease who test positive for it. This can also be written as:
Again, consider the example of the medical test used to identify a disease. A 'bogus' test kit that always indicates positive regardless of the disease status of the patient will achieve, from a theoretical point of view, 100% sensitivity. This is because in this case there are no negatives at all, and false positives are not accounted for in the definition of sensitivity. Therefore, sensitivity alone cannot be used to determine whether a test is useful in practice.
However, a test with high sensitivity can be considered as a reliable indicator when its result is negative, since it rarely misses true positives among those who are actually positive. For example, a sensitivity of 100% means that the test recognizes all actual positives – i.e. all sick people are recognized as being ill. Thus, in contrast to a high specificity test, negative results in a high sensitivity test are used to rule out the disease.
Sensitivity is not the same as the precision or positive predictive value (ratio of true positives to combined true and false positives), which is as much a statement about the proportion of actual positives in the population being tested as it is about the test.
The calculation of sensitivity does not take into account indeterminate test results. If a test cannot be repeated, indeterminate samples either should be excluded from the analysis (the number of exclusions should be stated when quoting sensitivity) or can be treated as false negatives (which gives the worst-case value for sensitivity and may therefore underestimate it).
Specificity relates to the test's ability to identify negative results.
Consider the example of the medical test used to identify a disease. The specificity of a test is defined as the proportion of patients that are known not to have the disease who will test negative for it. This can also be written as:
From a theoretical point of view, a 'bogus' test kit which always indicates negative regardless of the disease status of the patient, will achieve 100% specificity, since there are no positive results and false negatives are not accounted for by definition.
However, highly specific tests rarely miss negative outcomes, so they can be considered reliable when their result is positive. Therefore, a positive result from a test with high specificity means a high probability of the presence of disease.
A test with a high specificity has a low type I error rate.
In medical diagnostics, test sensitivity is the ability of a test to correctly identify those with the disease (true positive rate), whereas test specificity is the ability of the test to correctly identify those without the disease (true negative rate). If 100 patients known to have a disease were tested, and 43 test positive, then the test has 43% sensitivity. If 100 with no disease are tested and 96 return a negative result, then the test has 96% specificity. Sensitivity and specificity are prevalence-independent test characteristics, as their values are intrinsic to the test and do not depend on the disease prevalence in the population of interest. Positive and negative predictive values, but not sensitivity or specificity, are values influenced by the prevalence of disease in the population that is being tested.
It is often claimed that a highly specific test is effective at ruling in a disease when positive, while a highly sensitive test is deemed effective at ruling out a disease when negative. This has led to the widely used mnemonics SPIN and SNOUT, according to which a highly SPecific test, when Positive, rules IN disease (SP-P-IN), and a highly 'SeNsitive' test, when Negative rules OUT disease (SN-N-OUT). Both rules of thumb are, howevever, inferentially misleading, as the diagnostic power of any test is determined by both the sensitivity and specificity.
The sensitivity index or d' (pronounced 'dee-prime') is a statistic used in signal detection theory. It provides the separation between the means of the signal and the noise distributions, compared against the standard deviation of the noise distribution. For normally distributed signal and noise with mean and standard deviations and , and and , respectively, d' is defined as:
An estimate of d' can be also found from measurements of the hit rate and false-alarm rate. It is calculated as:
where function Z(p), p ∈ [0,1], is the inverse of the cumulative Gaussian distribution.
d' is a dimensionless statistic. A higher d' indicates that the signal can be more readily detected.
|Patients with bowel cancer
(as confirmed on endoscopy)
|Condition Positive||Condition Negative|
(TP) = 20
(FP) = 180
|Positive predictive value
= TP / (TP + FP)
= 20 / (20 + 180)
(FN) = 10
(TN) = 1820
|Negative predictive value
= TN / (FN + TN)
= 1820 / (10 + 1820)
= TP / (TP + FN)
= 20 / (20 + 10)
= TN / (FP + TN)
= 1820 / (180 + 1820)
Hence with large numbers of false positives and few false negatives, a positive screen test is in itself poor at confirming the disorder (PPV = 10%) and further investigations must be undertaken; it did, however, correctly identify 66.7% of all cases (the sensitivity). However as a screening test, a negative result is very good at reassuring that a patient does not have the disorder (NPV = 99.5%) and at this initial screen correctly identifies 91% of those who do not have cancer (the specificity).
Sensitivity and specificity values alone may be highly misleading. The 'worst-case' sensitivity or specificity must be calculated in order to avoid reliance on experiments with few results. For example, a particular test may easily show 100% sensitivity if tested against the gold standard four times, but a single additional test against the gold standard that gave a poor result would imply a sensitivity of only 80%. A common way to do this is to state the binomial proportion confidence interval, often calculated using a Wilson score interval.
In the traditional language of statistical hypothesis testing, the sensitivity of a test is called the statistical power of the test, although the word power in that context has a more general usage that is not applicable in the present context. A sensitive test will have fewer Type II errors.