Speaking Stata: Problems with tables, Part II

Three user-written commands are reviewed as illustrations of different approaches to tabulation problems, each one step beyond what is possible to do directly through official Stata. tabcount is a wrapper for tabdisp written to produce tables that show how often specified values occur or specified conditions are satisfied so that, in particular, tables may include explicit zeros whenever desired. makematrix is designed for situations in which a table of results may be compiled by populating a matrix. matrix list or list may then be used to display the table. groups shows frequencies of combinations of values using list. Users should find these commands to be helpful additions to the toolkit. Programmers may be interested in examples of the wrapper approach, calculating the values to be tabulated before passing them to a workhorse display command. This is the second of two papers on this topic.

Issue Date:
Publication Type:
Journal Article
DOI and Other Identifiers:
Record Identifier:
PURL Identifier:
Published in:
Stata Journal, 03, 4
Page range:
Total Pages:

Record appears in:

 Record created 2017-04-01, last modified 2020-10-28

Download fulltext

Rate this document:

Rate this document:
(Not yet reviewed)