Creating summary tables using the sumtable command
Lauren Scott and
Chris Rogers
Additional contact information
Lauren Scott: Clinical Trials and Evaluation Unit, Bristol
Chris Rogers: Clinical Trials and Evaluation Unit, Bristol
United Kingdom Stata Users' Group Meetings 2016 from Stata Users Group
Abstract:
In many fields of statistics, summary tables are used to describe characteristics within a study population. Moreover, such tables are often used to compare characteristics of two or more groups, for example, treatment groups in a clinical trial or different cohorts in an observational study. This talk introduces the sumtable command, a user-written command that can be used to produce such summary tables, allowing for different summary measures within one table. Summary measures available include means and standard deviations, medians and interquartile ranges, and numbers and percentages. The command removes any manual aspect of creating these tables (for example, copying and pasting from the Stata output window) and therefore eliminates transposition errors. It also makes creating a summary table quick and easy and is especially useful if data are updated and tables subsequently need to change. The end result is an Excel spreadsheet that can be easily manipulated for reports or other documents. Although this command was written in the context of medical statistics, it would be equally useful in many other settings.
Date: 2016-09-16
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
http://repec.org/usug2016/crowther_uksug16.pdf presentation slides (application/pdf)
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:boc:usug16:05
Access Statistics for this paper
More papers in United Kingdom Stata Users' Group Meetings 2016 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum (baum@bc.edu).