Speaking Stata: Problems with tables, Part II
Nicholas Cox
Stata Journal, 2003, vol. 3, issue 4, 420-439
Abstract:
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 maythenbeusedtodisplay 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. Copyright 2003 by StataCorp LP.
Keywords: tables; matrices; tabcount; makematrix; groups; tabdisp; list (search for similar items in EconPapers)
Date: 2003
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)
Downloads: (external link)
http://www.stata-journal.com/sjpdf.html?articlenum=pr0011 (application/pdf)
Related works:
Journal Article: Speaking Stata: Problems with tables, Part I (2003) 
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:v:3:y:2003:i:4:p:420-439
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 ().