positive and negative predictive values 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. 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. both ppv and npv can be derived using bayes' theorem. positive and negative predictive values positive and negative predictive values - 2 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 (ppv) the positive predictive value (ppv), or precision, is defined as ppv = number of true positives number of true positives + number of false positives = number of true positives 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. the ppv can also be computed from sensitivity, specificity, and the prevalence of the condition: ppv = sensitivity × prevalence sensitivity × prevalence + ( 1 − specificity ) × ( 1 − prevalence ) =\times \times +(1-)\times (1-)}}} cf. bayes' theorem the complement of the ppv is the false discovery rate (fdr): fdr = 1 − ppv = number of false positives number of true positives + number of false positives = number of false positives number of positive calls =1-=+= negative predictive value (npv) the negative predictive value is defined as: npv = number of true negatives number of true negatives + number of false negatives = number of true negatives 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: npv = specificity × ( 1 − prevalence ) specificity × ( 1 − prevalence ) + ( 1 − sensitivity ) × prevalence =\times (1-)}\times (1-)+(1-)\times npv = t n t n + f n = the complement of the npv is the false omission rate (for): for = 1 − npv = number of false negatives number of true negatives + number of false negatives = number of false negatives number of negative calls =1-=+= 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. relationship the following diagram illustrates how the positive predictive value, negative predictive value, sensitivity, and specificity are related. predicted condition sources: total population = p + n positive (pp) negative (pn) informedness, bookmaker informedness (bm) = tpr + tnr − 1 prevalence threshold (pt) = tpr × fpr − fpr tpr − fpr \times -- actual condition positive (p) true positive (tp), hit false negative (fn), type ii error, miss, underestimation true positive rate (tpr), recall, sensitivity (sen), probability of detection, hit rate, power = tp/p = 1 − fnr false negative rate (fnr), miss rate = fn/p = 1 − tpr negative (n) false positive (fp), type i error, false alarm, overestimation true negative (tn), correct rejection false positive rate (fpr), probability of false alarm, fall-out = fp/n = 1 − tnr true negative rate (tnr), specificity (spc), selectivity = tn/n = 1 − fpr prevalence = p/p + n positive predictive value (ppv), precision = tp/pp = 1 − fdr false omission rate (for) = fn/pn = 1 − npv positive likelihood ratio (lr+) = tpr/fpr negative likelihood ratio (lr−) = fnr/tnr accuracy (acc) = tp + tn/p + n false discovery rate (fdr) = fp/pp = 1 − ppv negative predictive value (npv) = tn/pn = 1 − for markedness (mk), deltap (δp) = ppv + npv − 1 diagnostic odds ratio (dor) = lr+/lr− balanced accuracy (ba) = tpr + tnr/2 f1 score = 2 ppv × tpr/ppv + tpr = 2 tp/2 tp + fp + fn fowlkes–mallows index (fm) = ppv × tpr \times matthews correlation coefficient (mcc) = tpr × tnr × ppv × npv \times \times \times − fnr × fpr × for × fdr \times \times \times threat score (ts), critical success index (csi), jaccard index = tp/tp + fn + fp 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: fecal occult blood screen test outcome total population(pop.) = 2030 test outcome positive test outcome negative accuracy (acc) = (tp + tn) / pop.= (20 + 1820) / 2030≈ 90.64% f1 score = 2 × precision × recall/precision + recall≈ 0.174 patients withbowel cancer(as confirmedon endoscopy) actualconditionpositive true positive (tp)= 20(2030 × 1.48% × 67%) false negative (fn)= 10(2030 × 1.48% × (100% − 67%)) true positive rate (tpr), recall, sensitivity= tp / (tp + fn)= 20 / (20 + 10)≈ 66.7% false negative rate (fnr), miss rate = fn / (tp + fn)= 10 / (20 + 10) ≈ 33.3% actualconditionnegative false positive (fp)= 180(2030 × (100% − 1.48%) × (100% − 91%)) true negative (tn)= 1820(2030 × (100% − 1.48%) × 91%) false positive rate (fpr), fall-out, probability of false alarm = fp / (fp + tn)= 180 / (180 + 1820)= 9.0% specificity, selectivity, true negative rate (tnr)= tn / (fp + tn)= 1820 / (180 + 1820)= 91% prevalence= (tp + fn) / pop.= (20 + 10) / 2030≈ 1.48% positive predictive value (ppv), precision= tp / (tp + fp)= 20 / (20 + 180)= 10% false omission rate (for)= fn / (fn + tn)= 10 / (10 + 1820)≈ 0.55% positive likelihood ratio (lr+) = tpr/fpr= (20 / 30) / (180 / 2000)≈ 7.41 negative likelihood ratio (lr−) = fnr/tnr= (10 / 30) / (1820 / 2000)≈ 0.366 false discovery rate (fdr)= fp / (tp + fp)= 180 / (20 + 180)= 90.0% negative predictive value (npv)= tn / (fn + tn)= 1820 / (10 + 1820)≈ 99.45% diagnostic odds ratio (dor) = lr+/lr−≈ 20.2 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. 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%. 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 to 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. 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 some constant k , the number of positive test iterations n i needed is: n i = lim ρ → k ⌈ ln ⁡ [ ρ ( ϕ − 1 ) ϕ ( ρ − 1 ) ] ln ⁡ [ a 1 − b ] ⌉ =\lim _\left\lceil \right\rceil } where ρ is the desired ppv n i is the number of testing iterations necessary to achieve ρ a is the sensitivity b is the specificity ϕ is disease prevalence, and k is a 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