Skip to main content

SUMMTAB: Stata module to compute summary statistics overall and/or across levels of a categorical variable

Publication ,  Software
Gallis, J

Manually typing summary tables from statistical output is tedious, time-consuming, and error-prone. Therefore, it is never recommended to enter tables “by hand.” The summtab command facilitates and automates the creation of a publication-quality summary table (usually “Table 1” in research articles) output to Word using the Stata command putdocx, thus saving the user time and eliminating copy-and-paste errors. The summtab command summarizes both continuous and categorical variables, overall and/or across levels of (i.e., stratified by) a categorical variable. Various options allow the user to select which summary statistics to report, how to format numbers, and whether to output as both a Word and Excel file, among other options.

Duke Scholars