EconPapers    
Economics at your fingertips  
 

Speaking Stata: Tables as lists: The groups command

Nicholas Cox

Stata Journal, 2017, vol. 17, issue 3, 760-773

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.

Keywords: groups; tables; lists (search for similar items in EconPapers)
Date: 2017
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj17-3/st0496/
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0496 link to article purchase

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:tsj:stataj:y:17:y:2017:i:3:p:760-773

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-29
Handle: RePEc:tsj:stataj:y:17:y:2017:i:3:p:760-773