# Positive and negative predictive values

The positive and negative predictive values (PPV and NPV respectively) are the proportions of positive and negative results in statistics and diagnostic tests that are true positive and true negative results, respectively.[1] The PPV and NPV describe the performance of a diagnostic test or other statistical measure. A high result can be interpreted as indicating the accuracy of such a statistic. The PPV and NPV are not intrinsic to the test (as true positive rate and true negative rate are); they depend also on the prevalence.[2] Both PPV and NPV can be derived using Bayes' theorem.

Although sometimes used synonymously, a positive predictive value generally refers to what is established by control groups, while a post-test probability refers to a probability for an individual. Still, if the individual's pre-test probability of the target condition is the same as the prevalence in the control group used to establish the positive predictive value, the two are numerically equal.

In information retrieval, the PPV statistic is often called the precision.

## Definition

### Positive predictive value

The positive predictive value (PPV) is defined as

${\displaystyle {\text{PPV}}={\frac {\text{Number of true positives}}{{\text{Number of true positives}}+{\text{Number of false positives}}}}={\frac {\text{Number of true positives}}{\text{Number of positive calls}}}}$

where a "true positive" is the event that the test makes a positive prediction, and the subject has a positive result under the gold standard, and a "false positive" is the event that the test makes a positive prediction, and the subject has a negative result under the gold standard. The ideal value of the PPV, with a perfect test, is 1 (100%), and the worst possible value would be zero.

In case-control studies the PPV has to be computed from sensitivity, specificity, but also including the prevalence:

${\displaystyle {\text{PPV}}={\frac {{\text{sensitivity}}\times {\text{prevalence}}}{{\text{sensitivity}}\times {\text{prevalence}}+(1-{\text{specificity}})\times (1-{\text{prevalence}})}}}$

The complement of the PPV is the false discovery rate (FDR):

${\displaystyle {\text{FDR}}=1-{\text{PPV}}={\frac {\text{Number of false positives}}{{\text{Number of true positives}}+{\text{Number of false positives}}}}={\frac {\text{Number of false positives}}{\text{Number of positive calls}}}}$

### Negative predictive value

The negative predictive value is defined as:

${\displaystyle {\text{NPV}}={\frac {\text{Number of true negatives}}{{\text{Number of true negatives}}+{\text{Number of false negatives}}}}={\frac {\text{Number of true negatives}}{\text{Number of negative calls}}}}$

where a "true negative" is the event that the test makes a negative prediction, and the subject has a negative result under the gold standard, and a "false negative" is the event that the test makes a negative prediction, and the subject has a positive result under the gold standard. With a perfect test, one which returns no false negatives, the value of the NPV is 1 (100%), and with a test which returns no true negatives the NPV value is zero.

The NPV can also be computed from sensitivity, specificity, and prevalence:

${\displaystyle {\text{NPV}}={\frac {{\text{specificity}}\times (1-{\text{prevalence}})}{(1-{\text{sensitivity}})\times {\text{prevalence}}+{\text{specificity}}\times (1-{\text{prevalence}})}}}$

The complement of the NPV is the false omission rate (FOR):

${\displaystyle {\text{FOR}}=1-{\text{NPV}}={\frac {\text{Number of false negatives}}{{\text{Number of true negatives}}+{\text{Number of false negatives}}}}={\frac {\text{Number of false negatives}}{\text{Number of negative calls}}}}$

### Relationship

Although sometimes used synonymously, a negative predictive value generally refers to what is established by control groups, while a negative post-test probability rather refers to a probability for an individual. Still, if the individual's pre-test probability of the target condition is the same as the prevalence in the control group used to establish the negative predictive value, then the two are numerically equal.

The following diagram illustrates how the positive predictive value, negative predictive value, sensitivity, and specificity are related.

 True condition Total population Condition positive Condition negative Prevalence = Σ Condition positive/Σ Total population Accuracy (ACC) = Σ True positive + Σ True negative/Σ Total population Predicted condition Predicted conditionpositive True positive Positive predictive value (PPV), Precision = Σ True positive/Σ Predicted condition positive False discovery rate (FDR) = Σ False positive/Σ Predicted condition positive Predicted conditionnegative True negative False omission rate (FOR) = Σ False negative/Σ Predicted condition negative Negative predictive value (NPV) = Σ True negative/Σ Predicted condition negative True positive rate (TPR), Recall, Sensitivity, probability of detection, Power = Σ True positive/Σ Condition positive False positive rate (FPR), Fall-out, probability of false alarm = Σ False positive/Σ Condition negative Positive likelihood ratio (LR+) = TPR/FPR Diagnostic odds ratio (DOR) = LR+/LR− F1 score = 2 · Precision · Recall/Precision + Recall False negative rate (FNR), Miss rate = Σ False negative/Σ Condition positive Specificity (SPC), Selectivity, True negative rate (TNR) = Σ True negative/Σ Condition negative Negative likelihood ratio (LR−) = FNR/TNR

Note that the positive and negative predictive values can only be estimated using data from a cross-sectional study or other population-based study in which valid prevalence estimates may be obtained. In contrast, the sensitivity and specificity can be estimated from case-control studies.

### Worked example

Suppose the fecal occult blood (FOB) screen test is used in 2030 people to look for bowel cancer:

 Patients with bowel cancer(as confirmed on endoscopy) Condition positive Condition negative Prevalence= (TP+FN)/Total_Population= (20+10)/2030≈1.48% Accuracy (ACC) = (TP+TN)/Total_Population= (20+1820)/2030≈90.64% Fecaloccultbloodscreentestoutcome Testoutcomepositive True positive(TP) = 20(2030 x 1.48% x 67%) False positive(FP) = 180(2030 x (100 - 1.48%) x (100 - 91%)) Positive predictive value (PPV), Precision= TP / (TP + FP)= 20 / (20 + 180)= 10% False discovery rate (FDR)= FP/(TP+FP)= 180/(20+180)= 90.0% Testoutcomenegative False negative(FN) = 10(2030 x 1.48% x (100 - 67%)) True negative(TN) = 1820(2030 x (100 -1.48%) x 91%) False omission rate (FOR)= FN / (FN + TN)= 10 / (10 + 1820)≈ 0.55% Negative predictive value (NPV)= TN / (FN + TN)= 1820 / (10 + 1820)≈ 99.45% TPR, Recall, Sensitivity= TP / (TP + FN)= 20 / (20 + 10)≈ 66.7% False positive rate (FPR),Fall-out, probability of false alarm = FP/(FP+TN)= 180/(180+1820)=9.0% Positive likelihood ratio (LR+) = TPR/FPR= (20/30)/(180/2000)≈7.41 Diagnostic odds ratio (DOR) = LR+/LR−≈20.2 F1 score = 2 · Precision · Recall/Precision + Recall≈0.174 False negative rate (FNR), Miss rate = FN/(TP+FN)= 10/(20+10) ≈ 33.3% Specificity, Selectivity, True negative rate (TNR)= TN / (FP + TN)= 1820 / (180 + 1820)= 91% Negative likelihood ratio (LR−) = FNR/TNR= (10/30)/(1820/2000)≈0.366

The small positive predictive value (PPV = 10%) indicates that many of the positive results from this testing procedure are false positives. Thus it will be necessary to follow up any positive result with a more reliable test to obtain a more accurate assessment as to whether cancer is present. Nevertheless, such a test may be useful if it is inexpensive and convenient. The strength of the FOB screen test is instead in its negative predictive value — which, if negative for an individual, gives us a high confidence that its negative result is true.

## Problems

### Other individual factors

Note that the PPV is not intrinsic to the test—it depends also on the prevalence.[2] Due to the large effect of prevalence upon predictive values, a standardized approach has been proposed, where the PPV is normalized to a prevalence of 50%.[3] PPV is directly proportional to the prevalence of the disease or condition. In the above example, if the group of people tested had included a higher proportion of people with bowel cancer, then the PPV would probably come out higher and the NPV lower. If everybody in the group had bowel cancer, the PPV would be 100% and the NPV 0%.

To overcome this problem, NPV and PPV should only be used if the ratio of the number of patients in the disease group and the number of patients in the healthy control group used to establish the NPV and PPV is equivalent to the prevalence of the diseases in the studied population, or, in case two disease groups are compared, if the ratio of the number of patients in disease group 1 and the number of patients in disease group 2 is equivalent to the ratio of the prevalences of the two diseases studied. Otherwise, positive and negative likelihood ratios are more accurate than NPV and PPV, because likelihood ratios do not depend on prevalence.

When an individual being tested has a different pre-test probability of having a condition than the control groups used to establish the PPV and NPV, the PPV and NPV are generally distinguished from the positive and negative post-test probabilities, with the PPV and NPV referring to the ones established by the control groups, and the post-test probabilities referring to the ones for the tested individual (as estimated, for example, by likelihood ratios). Preferably, in such cases, a large group of equivalent individuals should be studied, in order to establish separate positive and negative predictive values for use of the test in such individuals.

### Bayesian Updating

Bayes' Theorem confers inherent limitations on the accuracy of screening tests as a function of disease prevalence or pre-test probability. It has been shown that a testing system can tolerate significant drops in prevalence, up until a certain well-defined point known as the prevalence threshold, below which the reliability of a positive screening test drops precipitously. That said, Balayla et al. [4] showed that sequential testing overcomes the aforementioned Bayesian limitations and thus improves the reliability of screening tests. For a desired positive predictive value that approaches k, the number of positive test iterations ni needed is:

${\displaystyle n_{i}=\lim _{\rho \to k}\left\lceil {\frac {\ln \left[{\frac {\rho (\phi -1)}{\phi (\rho -1)}}\right]}{\ln \left[{\frac {a}{1-b}}\right]}}\right\rceil }$

where ni = number of testing iterations necessary to achieve ρ, the desired positive predictive value, a = sensitivity, b = specificity, φ = disease prevalence and k = constant. Of note, the denominator of the above equation is the natural logarithm of the positive likelihood ratio (+LR).

### Different target conditions

PPV is used to indicate the probability that in case of a positive test, that the patient really has the specified disease. However, there may be more than one cause for a disease and any single potential cause may not always result in the overt disease seen in a patient. There is potential to mix up related target conditions of PPV and NPV, such as interpreting the PPV or NPV of a test as having a disease, when that PPV or NPV value actually refers only to a predisposition of having that disease.

An example is the microbiological throat swab used in patients with a sore throat. Usually publications stating PPV of a throat swab are reporting on the probability that this bacterium is present in the throat, rather than that the patient is ill from the bacteria found. If presence of this bacterium always resulted in a sore throat, then the PPV would be very useful. However the bacteria may colonise individuals in a harmless way and never result in infection or disease. Sore throats occurring in these individuals are caused by other agents such as a virus. In this situation the gold standard used in the evaluation study represents only the presence of bacteria (that might be harmless) but not a causal bacterial sore throat illness. It can be proven that this problem will affect positive predictive value far more than negative predictive value.[5] To evaluate diagnostic tests where the gold standard looks only at potential causes of disease, one may use an extension of the predictive value termed the Etiologic Predictive Value.[6][7]