Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

[no subject]



**********
sysuse auto, clear
cap ssc install descsave
descsave make price mpg length trunk, saving(myautofile, replace)

use myautofile, clear
keep name varlab
l
**********

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ronnie Babigumira
Sent: Thursday, May 08, 2008 6:26 PM
To: [email protected]
Subject: st: Create dataset of variable names and variable labels

Dear List
How can I create a small data set made up of variable names and variable
levels for some variables in a data set.

Something like this from the auto data

variable	var_label
make    	Make and Model
price   	Price
mpg     	Mileage (mpg)
length  	Length (in.)
trunk   	Trunk space (cu. ft.)

Ronnie
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index