Skip to main content
Elsevier - PMC COVID-19 Collection logoLink to Elsevier - PMC COVID-19 Collection
. 2020 Jun 25;38(10):2011–2013. doi: 10.1016/j.ajem.2020.06.054

Bayes' theorem, COVID19, and screening tests

Gar Ming Chan 1,
PMCID: PMC7315940  PMID: 33142166

Abstract

The COVID19 crisis has provided a portal to revisit and understand qualities of screening tests and the importance of Bayes' theorem in understanding how to interpret results and implications of next actions.

Keywords: Bayes' theorem, Screening tests, COVID19

1. Brief commentary

During the coronavirus disease 2019 (COVID19) crisis, there has been public outcry for mass screening of the population in hopes to control an actively unfolding event which may directly impact Emergency Departments (EDs) as frontline healthcare providers. Headline news associating mass testing with better control of this pandemic may be spurious because testing in its current form without thoughtful next steps are consequential. In order to adequately assess the implications of increased testing we should revisit Bayes' theorem and its importance in interpreting test results.

To this date, there is one test that has assisted in the current crisis, real-time reverse transcriptase polymerase chain reaction (rRT-PCR). Although becoming more readily available, there are short comings to the test when placed in real world situations. Attributes which limit its sensitivity as a screening tool are stage of COVID19 illness, quality of sampling, and bodily fluid selection. Sensitivities of the most practical and common methods of testing in real world scenarios has been published as 63% for a nasopharyngeal swab and 31% for a throat swab [1].

The ideas that good screening tests with high sensitivity permitting a high degree of true positives while allowing a permissive number of false positives in order to “rule out” disease and tests with high specificity (low rate of false positives) are good “rule in” tests is an oversimplification of a complex dynamic. Although sensitivity and specificity are test attributes important to understand, Bayes' theorem allows the health care provider to convert the results of a test to the probability of having disease. At best, as it stands with a sensitivity of 63% and a presumed specificity of >99% [2] rRT-PCR is a poor screening test because it has limited ability to rule out disease.

The ability to “rule out illness” given a negative test result using Bayes' theorem can be interpreted by the negative predictive value (NPV) of a test; in other words, given a negative test result: what is the probability of being free of disease? Unfortunately, calculating an NPV relies on prevalence of disease. Prevalence, in this calculation would act as the pre-test or prior probability of disease and combined with the NPV would generate a post-test probability for any patient (all-comers) regardless of the individual's risks.

Unlike NPV, a negative likelihood ratio (LR-) uses Bayes' theorem to facilitate interpretation of a test for a given individual regardless of prevalence by assigning prior probabilities/odds in order to determine post probabilities/odds for a given data point, in this case the LR-.

LR=1sensitivityspecificity
0.374=10.630.99

To understand the power of Bayes' theorem we will envision 3 patients: low, moderate, and high pre-test probability of COVID19 infection. Asymptomatic individuals in a presumed low prevalence environment would constitute a low pre-test probability (10–20%) of COVID19 infection, whereas an individual with cough and fever in a city/jurisdiction with known cases of COVID19 may be assigned a moderate pre-test probability (40–60%) of disease. A high pre-test probability (80–90%) of COVID19 may include a patient with fever, cough, shortness of breath, with a known close contact with confirmed COVID19. For each of these individuals, a negative rRT-PCR test result will have different implications, namely post-test odds (which can be converted to a probability for ease of interpretation). Similarly, utilizing the Fagan nomogram will provide a visual estimate of post-test probabilities based on LR [3].

Because LR- is a ratio of odds, pre-test probabilities need to be converted into odds and then the resultant odds need to be reverted back to probabilities, where: odds=probability1probability and probability=oddsodds+1. Table 1 and Fig. 1 provides a visual gauge of how a LR- (0.374) changes post-test probabilities given a particular pre-test probability.

Table 1.

Probability odds conversion for negative likelihood ratio of 0.374.

Pre-test probability Pre-test odds Post-test odds = (pre-test odds × LR-) Post-test probability
0.10 0.11 0.04 0.04
0.20 0.25 0.09 0.09
0.30 0.43 0.16 0.14
0.40 0.67 0.25 0.20
0.50 1.00 0.37 0.27
0.60 1.50 0.56 0.36
0.70 2.33 0.87 0.47
0.80 4.00 1.49 0.60
0.90 9.00 3.36 0.77

Fig. 1.

Fig. 1

Fagan nomogram with LR- 0.374 [4].

As depicted in Table 1 and Fig. 1, individuals with a low pre-test probability (10–20%) of disease and a negative rRT-PCR test with a LR- of (0.374) results in a lower post-test probability (4–9%). Those individuals with moderate pre-test probability (40–60%) and a negative rRT-PCR test have a reduction in post-test probability of COVID19 (Table 1 and Fig. 1 20–36%), but not to an insignificant amount.

Given a high enough pre-test probability (>80%) and negative test result, post-test probabilities remain elevated (Table 1 and Fig. 1 60–77%), and clinicians should be wary of informing a patient that a “negative” test has ruled out COVID19.

Given these three scenarios, subsequent actions and recommendations from EDs rely heavily on post test probabilities, not the categorical outcomes of either “positive” or “negative”. Therefore, a negative test without knowing an individual's post-test probability of disease can limit the ability of clinicians to perform appropriate next actions and dispositions (i.e. discharge instructions, admission to which ward, etc.). For all screening tests, whether for COVID19 or other diagnoses, the understanding of predictive values and likelihood ratios with the help of Bayes' theorem will ensure sound interpretation and resultant recommendations and actions by clinicians and stake-holders. A negative test result, in this paradigm, is never absolutely negative. Rather it adjusts the pre-test probability of having disease lower.

Meetings

None.

Grant

None.

Author contributions

Gar Chan: entire manuscript.

Declaration of competing interest

None.

References

  • 1.Wang W., Xu Y., Gao R. Detection of SARS-CoV-2 in different types of clinical specimens. JAMA. 2020 doi: 10.1001/jama.2020.3786. [Published online March 11] [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Corman Victor M., Olfert Landt, Marco Kaiser, Richard Molenkamp, Adam Meijer, Chu Daniel K.W. Detection of 2019 novel coronavirus (2019-nCoV) by real-time RT-PCR. Euro Surveill. 2020;25(3) doi: 10.2807/1560-7917.ES.2020.25.3.2000045. [pii=2000045] [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Fagan T.J. Letter: nomogram for Bayes theorem. New Engl J Med. 1975 Jul 31;293(5):257. doi: 10.1056/NEJM197507312930513. [DOI] [PubMed] [Google Scholar]
  • 4.Zhang W., Doherty M., Pascual E. EULAR evidence based recommendations for gout. Part I: Diagnosis. Report of a task force of the Standing Committee for International Clinical Studies Including Therapeutics (ESCISIT) Ann Rheum Dis. 2006 October;65(10):1301–1311. doi: 10.1136/ard.2006.055251. PMID 16707533. PMC: 1798330. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from The American Journal of Emergency Medicine are provided here courtesy of Elsevier

RESOURCES