The Two by Two Truth Diagram
I am diagnostic radiologist with over 40 years experience. In diagnostic testing, many terms are used to describe how well the test detects the disease or disorder. Examples are “sensitivity”, “specificity”, “predictive values”, “odds ratio”, “likelihood ratios” and numerous others. In the literature and medical presentations there is often not much consistency in their use; as a physician listening to or reading research, I was perpetually unclear on how these terms “fit together”. My solution was to invent the visual 2 by 2 diagram, or truth diagram, as a graphical alternative to the…
What it does
In the maker’s words, at launch
I am diagnostic radiologist with over 40 years experience. In diagnostic testing, many terms are used to describe how well the test detects the disease or disorder. Examples are “sensitivity”, “specificity”, “predictive values”, “odds ratio”, “likelihood ratios” and numerous others. In the literature and medical presentations there is often not much consistency in their use; as a physician listening to or reading research, I was perpetually unclear on how these terms “fit together”. My solution was to invent the visual 2 by 2 diagram, or truth diagram, as a graphical alternative to the standard contingency table used in diagnostic testing (Johnson 1999). The concepts listed above, and many others, are represented graphically, and their inter-relationships can be clearly visualized. Instead of four numbers in a grid, a single rectangle on a coordinate system encodes all four cells of the 2×2 table through its position and shape. Each hemi-axis corresponds to one cell (see below). The vertical height corresponds to the number of subjects with the disorder, and the horizontal width corresponds to the number of subjects without the disorder. A low, wide box represents a low prevalence of the disorder; a high narrow box represents a high prevalence. The diagram makes it possible to see statistics like sensitivity, specificity, PPV, NPV, likelihood ratios, and even Bayes’ theorem as geometric relationships — lengths, areas, slopes, and proportions — rather than abstract formulas. Drag or resize the box to see how the cell values change. The other lessons in this app explain each of the terms and how they appear on the diagram. Any of these screens can be saved for presentation and publication purposes. Please take a look and feel free to give me feedback. REFERENCES Johnson KM. The two by two diagram: a graphical truth table. J Clin Epidemiol. 1999;52(11):1073-82. [PubMed] [ResearchGate] Johnson KM, Johnson BK. Visual presentation of statistical concepts in diagnostic testing: the 2×2 diagram. AJR Am J Roentgenol. 2014;203(1):W14-20. [PubMed] [ResearchGate] Johnson KM. Using Bayes’ rule in diagnostic testing: a graphical explanation. Diagnosis (Berl). 2017;4(3):159-67. [PubMed] [ResearchGate]
Does the same job
all alternatives →




GPT-3 Generated Covid Restrictions2022 · ▲101Real or GPT-3 generated - can you guess which one is which?
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, March 2026
the whole month →

Switch from ChatGPT to Claude with import memory feature
AI · Mar 2026 · claude.com


