Speaking Stata: The joy of sets: Graphical alternatives to Euler and Venn diagrams
Authors:
Open Access
- 1 June 2024
- journal article
- research article
- Published by SAGE Publications in The Stata Journal: Promoting communications on statistics and Stata
- Vol. 24 (2) , 329-361
Abstract
Membership of overlapping or intersecting sets may be recorded in a bundle of (0, 1) indicator variables. Annotated Euler or Venn diagrams may be used to show graphically the frequencies of subsets so defined, but beyond just a few sets such diagrams can be hard to draw and use effectively. This column presents two new commands for graphical alternatives: upsetplot and vennbar. Each command produces a bar chart by default, but there is scope to recast to different graphical forms. The differences between the new commands reflect the divide in Stata between twoway commands and other graph commands. They also provide some flexibility in graph design to match tastes and circumstances. The discussion includes many historical details and references.Keywords
This publication has 51 references indexed in Scilit:
- A critical review of graphics for subgroup analyses in clinical trialsPharmaceutical Statistics, 2020
- Origins of the Venn Diagram2015
- A History of Logic Diagrams2012
- Mathematics and Its History2010
- A Modern Introduction to Probability and Statistics2005
- George Boole, An investigation of the laws of thought on which are founded the mathematical theory of logic and probabilities (1854)2005
- John Venn2001
- George Boole2001
- Probability via Expectation2000
- Probability1993