Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Losing/Saving Label Definitions


From   "Paul M. Collins Jr." <[email protected]>
To   [email protected]
Subject   Re: st: Losing/Saving Label Definitions
Date   Mon, 17 Nov 2003 13:23:10 -0500 (EST)

I had indeed omitted the label values step.

This step solves my problem.

Thank you very much!

PMC
-- 
Paul M. Collins Jr.
Ph.D. Candidate
Department of Political Science
Binghamton University
P.O. Box 6000
Binghamton, NY 13902-6000
[email protected]
http://bingweb.binghamton.edu/~pcollins/
607-777-4180


> Mr. Collins,
>
> Unless you forgot to include it, judging from your e-mail you have
> omitted the label values step.
>
> label var group "Experimental Status";
> label define grouplbl 1 "Treatment" 0 "Control";
> label values group grouplbl;
>
> Adding the third step should solve your problem.
>
> DVM
>
>
> On Mon, 17 Nov 2003, Paul M. Collins Jr. wrote:
>
>> Ive encountered a rather staggering problem.  I have a do file that
>> attaches variable label names (using �label variable�) and value labels
>> (using �label define�).  After I run the file, and save the changes,
>> STATA
>> drops the value labels, but keeps the label names.
>>
>> Does anyone have any idea how to save (keep) both the value labels and
>> label names?
>>
>> --
>> Paul M. Collins Jr.
>> Ph.D. Candidate
>> Department of Political Science
>> Binghamton University
>> P.O. Box 6000
>> Binghamton, NY 13902-6000
>> [email protected]
>> http://bingweb.binghamton.edu/~pcollins/
>> 607-777-4180
>>
>>
>>
>> *
>> *   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/
>>
>
> _______________________________________________________________________________
> Dimitriy V. Masterov
>
> Work:
> Center for Social Program Evaluation
> 1155 East 60th St. Room 038
> Chicago, IL 60637
> Work: (773)256-6005
> Fax: (773)256-6313
>
> Home:
> 1312 East 53rd St., Apt.309
> Chicago, IL 60615
> Mobile: (773)220-2760
>
>
>
> *
> *   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