Example — Epidemiological test

A test for a rare illness has P(A)=0,003P(A) = 0,003 (the illness strikes 33 people in 10001000), P(AB)=0,7P(A\mid B) = 0,7 (precision) and P(AB)=0,0001P(A\mid \overline{B}) = 0,0001. Let us fill in the contingency table using 1000010\,000 people as the reference population.

AA (ill)A\overline{A} (healthy)Total
BB (test ++)2121993030
B\overline{B} (test -)9999619\,96199709\,970
Total303099709\,9701000010\,000

From here the three characteristic quantities of the test can be read directly:

  • Sensitivity =P(BA)=2130=70%= P(B\mid A) = \dfrac{21}{30} = 70\%
  • Specificity =P(BA)=9961997099,9%= P(\overline{B}\mid\overline{A}) = \dfrac{9961}{9970} \approx 99,9\%
  • Precision =P(AB)=2130=70%= P(A\mid B) = \dfrac{21}{30} = 70\%

A well-used test: few false positives and a very high specificity.

Topics: Probability
Concepts: Precision · Sensitivity · Specificity · Contingency table
Methods: Bayes · Total probability
Skills: Probability calculation