Article Text
Statistics from Altmetric.com
Bayes' theorem1 remains the normative standard for diagnosis, but it is often violated in clinical practice. Attempts to simplify its application with diagnostic computer programs,2 3 nomograms,4 rulers5 or internet calculators6 have not helped to increase its use. Bayes' theorem helps overcome many wellknown cognitive errors in diagnosis, such as ignoring the base rate, probability adjustment errors (conservatism, anchoring and adjustment) and order effects.7 Bayes' theorem and its underlying precepts are introduced early in medical school and medical texts, for example, Chapter 3 of 392 chapters in Harrison's Principles of Internal Medicine.8 Even so, adherence to Bayes' principles is all but absent – low probability diseases are still tested for causing unneeded cost and risk, and high probability diseases are ignored when a single negative test returns.
The basic idea of Bayes' theorem for medical diagnosis is well accepted. A diagnosis is not necessarily confirmed just because a test was positive. Diagnosis is usually not a binary decision (ie, true of false) turning on a single datum, but a dynamic probabilistic assessment. The posttest probability (also called the updated probability, posteriorprobability or positivepredictive value) of a diagnosis is dependent on how likely the diagnosis was before the test was done (the pretest probability, also referred to as the prevalence or priorprobability), the test result (positive or negative) and the ability of the test to discriminate between those afflicted and not afflicted with the disease (test characteristics expressed as sensitivity and specificity, or likelihood ratios). A simple formula, Bayes' theorem, combines these elements to produce the posttest probability of the disease. A positive test increases confidence in a diagnosis, but usually does not indicate certainty. Whether this confidence exceeds a treatment (or action) threshold9 remains a decision for the clinician and patient. Likewise, a negative test decreases confidence in a diagnosis, but rarely rules it out completely. It is up to those involved to decide if further action is warranted.
What if an easy, nonmathematical method to apply these concepts were available? Could the application of Bayes' theorem find its appropriate place in clinical practice and not be relegated to academic exercises for medical students and residents? Could its benefits in clinical practice finally be realised? There is a simple, qualitative or categorical application of Bayes' theorem that might ease the application of Bayes' underlying precepts. The method is based on categorising the pretest probability and handling a small set of probabilistic categories instead of the full spectrum of continuous probabilities, thus eliminating the need for mathematical calculations. In this paper, we first introduce this qualitative method. Then we present the mathematical justification for the method and the conditions under which it holds. Finally we present some special cases that reinforce the method.
Qualitative Bayes' theorem
Bayes' theorem's concepts can be applied using qualitative methods. First one must commit to the pretest probability – how likely the diagnosis is from the start. This probability is expressed categorically – very unlikely (less likely than 10%), unlikely (between 10% and 33%), uncertain (between 34% and 66%), likely (between 67% and 90%) or very likely (more likely than 90%) (table 1).
If the initial assessment is very unlikely or very likely, then in most cases it is not worth further testing according to Bayes' theorem – the results would either confirm what is already near certain or it would minimally move the posttest probability in the opposite direction. Either way, the clinician would not normally take additional actions. There are at least two situations where it is still important to proceed with further testing. First, if the diagnosis is very unlikely but needs to be ruled out with more certainty, as in a very dangerous disease, the clinician may want to proceed with testing. For example, at what probability is the clinician willing to send a patient home in whom a diagnosis of subarachnoid haemorrhage is being considered? Similarly, if the diagnosis is very likely, but needs to be ruled in with more certainty, such as when the treatment is especially dangerous or noxious, further testing is indicated. For example, at what probability is the clinician willing to commit a patient with liver disease to a course of anticoagulation with warfarin for a deep venous thrombosis?
If the probability is in one of the intermediate categories, then further testing is appropriate. The clinician may order a test and then interpret the results. A positive result moves the clinician to the next more likely category. A negative result moves the clinician to the next less likely category.
For example, if the clinician is seeing a 35yearold man in the office who presents with substernal, exertional chest pain that was relieved with rest, the patient has anginal chest pain. His pretest probability of having coronary artery disease (CAD) is likely, about 70%.10 Further testing is warranted and a stress test is ordered. If the result is negative, the diagnosis of CAD is uncertain – not absent. If the result is positive, CAD is very likely. But, if the patient were a woman, her pretest probability of having CAD is unlikely (about 26%). Further testing is also warranted. In this circumstance, if the stress test is negative, the diagnosis of CAD is very unlikely. If the test is positive, CAD is uncertain – not definitively present.
When does the qualitative approach to applying Bayes' theorem work?
Using the above intuitive cutoffs, and tests with sensitivities and specificities between 80% and 90%, the above procedure is a good approximation to Bayes' theorem. A graphical approach to Bayes' theorem can demonstrate how the qualitative approximation works (figure 1). Here the horizontalaxis is the pretest probability, the curves represent the relationship between the pretest probability and the posttest probability for a given sensitivity and specificity (80% for each in this example, roughly corresponding to the test characteristics for a nuclear stress test) and the verticalaxis is the posttest probability. The diagonal line is usually included and represents no change in the posttest probability with the test result (ie, the test did not change the clinician's assessment of the probability). Separate curves represent a positive result (green), which increases the posttest probability (ie, is above the diagonal line), and a negative result (red), which reduces the posttest probability. To use Bayes' theorem, one starts on the horizontalaxis at the appropriate pretest probability and draws a vertical line until it intersects the appropriate curve for a positive (green) or negative test (red) result. One then draws a horizontal line to find the appropriate posttest probability on the verticalaxis. Figure 1 exemplifies this for the case above, a man with anginal chest pain and a positive stress test. One first locates 70% on the horizontalaxis, follows the arrow up until it intersects the positive result (green) curve, then follows the arrow horizontally until it intersects the verticalaxis at the posttest probability of 90%. A similar procedure is followed for a negative test, using the red line, giving a posttest probability of 37%.
In the categorical case, all the pretest probabilities between 67% and 90% (the likely category) need to be considered while holding the sensitivity and specificity constant at 80%. This only needs to be done for the lower (67%) and the upper limits (90%), see figure 2. For a positive test, the posttest probabilities range between 89% and 97% (arrows). To get the lower limit of posttest probability for a positive test, one follows the arrow from a pretest probability of 67% up until point A in figure 2 (where the arrow intersects the curve representing Bayes' theorem's posttest probability for a positive result), and then reads the posttest probability (89%) off the verticalaxis. For the upper limit of the posttest probability, one follows the arrow from a pretest probability of 90% up until point B in figure 2, and then finds the posttest probability (97%) on the verticalaxis. This gives the range of posttest probabilities for the likely category. For a negative result, the posttest probabilities range between 33% and 69%.
Next, expand the range of sensitivities and specificities from 80% to 90%, representing good tests. Now, instead of a (green) curve to represent the relationship between pretest and posttest probabilities, we have a (green) band (figure 3). Like before, one follows the arrow from the pretest probability until it firsts meets the band (A in figure 3) to get the lower limit of the posttest probability and until it meets the top of the band (B in figure 3) to get the upper limit of the posttest probability. For the likely category examined above, we can see that the posttest probabilities for a positive test now range between 89% and 99% – almost all in the very likely category – and for a negative test between 18% and 69% – almost all in the uncertain or unlikely categories. The transformation of the pretest probabilities is shown as the purple inverted ‘L’ in figure 3. The results for all the categories are shown in figure 4 and table 2.
The method is an approximation. It forces a Bayesian inspired analysis on the interpretation of test results and gives results consistent with Bayes' theorem. The approximation is weakest in the two cells with contradictory data (eg, unlikely with a positive test result and likely with a negative test result) as expected. The results remain a good approximation even with expanded ranges for test characteristics (sensitivity and specificity). For example, if the range of test characteristics is between 70% and 80%, probability cutoffs of <20%, 20–45%, 46–55%, 56–80% and >80% work well. Since the method is only an approximation and our estimates of pretest probabilities are also poor estimates, just using the cutoffs likely, uncertain and unlikely will suffice.
Special cases
Rulein and ruleout tests – tests in which a single result is capable of near definitively rulingin or rulingout a diagnosis – are important. For example, a low brain natriuretic peptide is suitable for rulingout systolic heart failure. Any test with sensitivity greater than 99% is sufficient to ruleout a diagnosis from even the likely category (SnOUT) and any test with specificity greater than 99% is sufficient to rulein a diagnosis from even the unlikely category (SpIN).
In the very categories, since the curves are fairly flat in this region (figure 1, for example), two tests might be needed to produce a clinically significant change in the probabilities.
This method does not apply to most screening tests because the pretest probabilities are so low. The method reminds the clinician that a positive result on a screening test is usually not diagnostic, because the change in probabilities is not large enough with a single test. It will usually take two tests to go from very unlikely (as target conditions are in the general population) to very likely (the final probability a clinician is interested in before undertaking a colectomy, mastectomy or prostatectomy). For example, a 45yearold woman has a 5year probability of having breast cancer of about 1%.11 The sensitivity of routine screening mammography ranges from 71% to 96% and the specificity ranges from 94% to 97%.12 Using values of 80% for sensitivity and 96% for specificity, a positive test increases the probability to 17%. Using the qualitative categories described herein, the woman's risk of breast cancer would go from very unlikely to unlikely with the single positive screening test.
Many diseases and tests have appropriate prevalences, and sensitivities and specificities for the tests published, for example, tropinin I for myocardial infarction13 or urine Chlamydia infection in men.14
Summary
In summary, here is a qualitative procedure to follow to approximate the results of a Bayesian diagnostic decision analysis.
What is the pretest probability of the disease being considered? Ideally this comes from an evidencebased source. If it is very likely (<10–20%) or very unlikely (>80–90%), in general, no further testing is needed.
One first categorises the pretest probability as likely, uncertain or unlikely.
If the test is positive, the posttest probability increases by one qualitative category (eg, unlikely to uncertain). If the test is negative, the posttest probability decreases by one qualitative category (eg, unlikely to very unlikely).
This process continues until the clinician is comfortable enough with the confidence in the diagnosis considering the patient's preferences, the risk of the disease and the effects of treatment.
Negative tests with sensitivities near 99% can almost certainly rule out a disease, since the posttest sensitivity will be very unlikely even if the original pretest probability was likely. Similarly, positive tests with specificities near 99% can almost certainly rule in a disease.
If the pretest probability was very likely or very unlikely, and further testing is indicated, two tests are needed to escape the very categories. This is because the change in the probabilities is small within these categories. Two concordant results are needed to change out of the very categories.
Acknowledgments
The authors would like to thank Warren Hershman, MD, MPH for his comments.
Footnotes

Competing interests None.
Request permissions
If you wish to reuse any or all of this article please use the link below which will take you to the Copyright Clearance Center’s RightsLink service. You will be able to get a quick price and instant permission to reuse the content in many different ways.