Home  >>  Archives  >>  Volume 17 Number 3  >>  st0496

The Stata Journal
Volume 17 Number 3: pp. 760-773



Subscribe to the Stata Journal
cover

Speaking Stata: Tables as lists: The groups command

Nicholas J. Cox
Department of Geography
Durham University
Durham, UK
[email protected]
Abstract.  Tables can often be conveniently considered or produced as lists. The list command is therefore a vehicle for obtaining such tables. The groups command for tabulation is built around a call to list. It has no particular limits on the number of identifiers (row, column, or other variables defining cells). Among other features, it offers support for various kinds of frequencies, percents, and cumulations thereof; for various subsetting and ordering by frequencies, percents, and so on; for reordering of columns from the default display; and for saving tabulated data to new datasets.
Terms of use     View this article (PDF)

View all articles by this author: Nicholas J. Cox

View all articles with these keywords: groups, tables, lists

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS