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
range of the estimate of the first differenced independent variable of dependent variable in dynamic panelhi, I am estimating dynamic panel model(n=50, t=15). My question is about the range of the estimate …
Convert non numeric values to numeric ones (destring, or encode not properly solve it)Deal all, I would like to convert some non-numeric observations in x1 (numbers not recognized as nu…
Running a function for a subset of observationsHello colleagues, I have a long shaped dataset of 200 countries. I would like to run functions, for…
"no paths from latent variable to observed variables" LCADear statlists, I'm trying to do an LCA for 4 different variables, they are all continues. Using St…
How to include conditions in program (.ado file)Hi, I am very new to writing programs in Stata. My current project is to write an ado-file to get t…
Subscribe to:
Post Comments (Atom)
0 Response to New version of descsave on SSC
Post a Comment