EconPapers    
Economics at your fingertips  
 

UPSETPLOT: Stata module to show Euler or Venn diagrams mapped to bar charts, upsetplot style

Tim Morris () and Nicholas Cox
Additional contact information
Tim Morris: MRC Clinical Trials Unit at UCL

Statistical Software Components from Boston College Department of Economics

Abstract: upsetplot produces a bar chart alternative to Euler or Venn diagrams showing the frequencies (or more generally abundances) of subsets of observations as defined jointly by a bundle of numeric indicator variables and possibly a weight variable. The plot resembles what have been called UpSetPlots elsewhere. The display uses various subcommands of graph twoway. The most distinctive feature is a matrix- or table-like legend below the bar chart with marker symbols shown on each row whenever any indicator is 1 in a subset. Correspondingly, absence of a marker symbol implies that that indicator is 0 in that subset. The reduced dataset used by upsetplot may be saved for future work.

Language: Stata
Requires: Stata version 8.2
Keywords: upsetplot; Euler diagram; Venn diagram; bar charts; graphics; genomics (search for similar items in EconPapers)
Date: 2023-01-07, Revised 2023-12-03
Note: This module should be installed from within Stata by typing "ssc install upsetplot". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/u/upsetplot.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/u/upsetplot.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/sortmean.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/sortmean.sthlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459161

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s459161