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

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

Subscribe to the Stata Journal

Speaking Stata: The statsby strategy

Nicholas J. Cox
Department of Geography
Durham City, 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

Contact StataCorp

Contact service@stata-journal.com if you have questions about the Stata Journal.

© Copyright 2001–2014 StataCorp LP.   Terms of use.   Privacy policy.