Thanks as always to Kit Baum, a new version of the descsave package is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of descsave.
The descsave package is described as below on my website. The new version adds a byte variable isnumeric to the output dataset (or resultsset), containing, in each observation, an indicator of the numeric status of the corresponding variable (like the variable of the same name in the describe resultsset of official Stata). It also adds a characteristic charname to the variables in the resultsset generated by the charlist() option, containing, for each variable, the name of the variable characteristic stored in that variable.
Best wishes
Roger
--------------------------------------------------------------------------------------
package descsave from http://www.rogernewsonresources.org.uk/stata10
--------------------------------------------------------------------------------------
TITLE
descsave: Extension of describe creating output dataset and do-file
DESCRIPTION/AUTHOR(S)
descsave is an extended version of describe, and creates a do-file and/or
an output Stata dataset (or resultsset). The output Stata dataset has
1 observation per variable described, and data on variable attributes
(name, storage type, display format, variable label, value label, and
selected characteristics). The Stata do-file reconstructs these attributes
when run, assuming that the variable exists and is of the correct mode
(numeric or string). descsave can be used to reconstruct variables that have
been output to a generic spreadsheet using outsheet and then input using
insheet, or variables that have been extracted (using fvregen or factext)
from the label variable of an output dataset (or resultsset) created by
parmby or parmest. (The parmest, fvregen and factext packages are downloadable
from this website or from SSC.)
Author: Roger Newson
Date: 02 March 2019
Stata version: 10
INSTALLATION FILES (click here to install)
descsave.ado
descsave.sthlp
--------------------------------------------------------------------------------------
(click here to return to the previous screen)
Related Posts with New version of descsave on SSC
Adding category to variable and sustain response after point of change in longitudinal datasetDear Stata Listers, I am working with a 19 wave longitudinal dataset of around 1,000 respondents, w…
Can I regress company data as dependent and macroeconomic data as independent?Can I regress company data (as firm performance - the dependent variable) on macroeconomic data (as …
🙋 How to display full matrix names?This Code: clear all version 15.1 matrix A = 32 matrix rownames A = interview__id matrix list A …
Doubts on Diff-in-Diff methodDear Stata users, I am writing this post hoping that someone could help me. Here the story, I am a…
Coding linear time trend with missing yearsI am familiar with creating linear time trends. For example, if I have study years 1996, 1997, 1998 …
Subscribe to:
Post Comments (Atom)
0 Response to New version of descsave on SSC
Post a Comment