From datasets to resultssets in Stata
Roger Newson
United Kingdom Stata Users' Group Meetings 2004 from Stata Users Group
Abstract:
A resultsset is a Stata dataset created as output by a Stata program. It can be used as input to other Stata programs, which may in turn output the results as publication-ready plots or tables. Programs that create resultssets include xcontract, xcollapse, parmest, parmby and descsave. Stata resultssets do a similar job to SAS output data sets, which are saved to disk files. However, in Stata, the user typically has the options of saving a resultsset to a disk file, writing it to the memory (overwriting any pre-existing data set), or simply listing it. Resultssets are often saved to temporary files, using the tempfile command. This lecture introduces programs that create resultssets, and also programs that do things with resultssets after they have been created. listtex outputs resultssets to tables that can be inserted into a Microsoft Word, HTML or LaTeX document. eclplot inputs resultssets and creates confidence interval plots. Other programs, such as sencode and tostring, process resultssets after they are created and before they are listed, tabulated or plotted. These programs, used together, have a power not always appreciated if the user simply reads the on-line help for each package.
Date: 2004-06-30
New Economics Papers: this item is included in nep-cmp
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (3)
Downloads: (external link)
http://fmwww.bc.edu/repec/usug2004/Newson_handout1.pdf Lecture handout (application/pdf)
http://fmwww.bc.edu/repec/usug2004/Newson_overhed2.pdf Lecture slides (application/pdf)
http://fmwww.bc.edu/repec/usug2004/Newson_exampdo3.zip Archive of do-files (application/zip)
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:usug04:16
Access Statistics for this paper
More papers in United Kingdom Stata Users' Group Meetings 2004 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().