Home  >>  Archives  >>  Volume 10 Number 1  >>  gr0045

The Stata Journal
Volume 10 Number 1: pp. 143-151



Subscribe to the Stata Journal
cover

Speaking Stata: The statsby strategy

Nicholas J. Cox
Department of Geography
Durham
University
Durham City, UK
n.j.cox@durham.ac.uk
Abstract.   The statsby command collects statistics from a command yielding r-class or e-class results across groups of observations and yields a new reduced dataset. statsby is commonly used to graph such data in comparisons of groups; the subsets and total options of statsby are particularly useful in this regard. In this article, I give examples of using this approach to produce box plots and plots of confidence intervals.
Terms of use     View this article (PDF)

View all articles by this author: Nicholas J. Cox

View all articles with these keywords: statsby, graphics, groups, comparisons, box plots, confidence intervals

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS