Home  >>  Archives  >>  Volume 4 Number 2  >>  gr0004

The Stata Journal
Volume 4 Number 2: pp. 190-215



Subscribe to the Stata Journal
cover

Speaking Stata: Graphing categorical and compositional data

Nicholas J. Cox
University of Durham, UK
[email protected]
Abstract.   A variety of graphs have been devised for categorical and compositional data, ranging from widely familiar to more unusual displays. Both official Stata commands and user-written programs are available. After a stacking trick for binary responses is explained, bar charts and related displays for cross-tabulations are discussed in detail. Tips and tricks are introduced for plotting cumulative distributions of graded (ordinal) data. Triangular plots are explained for three-way compositions, such as three proportions or percentages.
Terms of use     View this article (PDF)

View all articles by this author: Nicholas J. Cox

View all articles with these keywords: graphics, categorical data, binary data, nominal data, ordinal data, grades, compositional data, cross-tabulations, bar charts, cumulative distributions, logit scale, catplot, tabplot, tableplot, distplot, mylabels, triplot

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS