DESCSAVE: Stata module to export data set and machine-readable codebook
Roger Newson
Statistical Software Components from Boston College Department of Economics
Abstract:
descsave is an extension of describe, creating up to 2 output data sets. These are a Stata data file with 1 observation per variable and data on the descriptive attributes of each variable (name, storage type, format value label, variable label, and characteristics if specified), and also a do-file, which can be called to reconstruct these descriptive attributes. The do-file created by descsave can be used if the data set has been saved using outsheet and input again using insheet. This can be useful if the user wishes to create a definitive generic spreadsheet version of the data, and to know that the original Stata version can be reconstructed from the definitive generic version. However, descsave can also be used when the user uses parmest,label after a regression command, using xi dummy variables for multilevel factors, and then reconstructs these multilevel factors from the variable label in the parmest output data set, in order to create tables and/or plots of confidence intervals.
Language: Stata
Requires: Stata version 16.0
Keywords: data; manipulation (search for similar items in EconPapers)
Date: 2001-04-18, Revised 2023-05-20
Note: This module may be installed from within Stata by typing "ssc install descsave". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/d/descsave.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/descsave.sthlp help file (text/plain)
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:bocode:s418101
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().