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

Re: st: question about format of labels


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: question about format of labels
Date   Fri, 03 Dec 2004 09:59:22 -0500

At 08:46 AM 12/3/2004 -0600, Rodrigo Brice�o wrote:
Dear Statalisters. I usually work in both SPSS and STATA and I found some
kind of interesting thing. I usually use STAT Transfer to convert the
databases but I found that all my labels that in SPSS has a capital letter
at the beginning are transformed to lower case labels without exception
(lets say 1 Female, 2 Male in SPSS are transformed to 1 female 2 male in
STATA).
Is there a way to avoid this?
From the Stat/Transfer 7 help (See the Options[1] tab - I am not sure if this applies to both value and variable labels or just variable labels):

Preserve Variable Name and Label Case if Possible

Stat/Transfer always follows the variable-naming rules of the output file type and will convert input names so that they will conform to those rules. It also, by default, tries to convert labels in keeping with the "spirit" of the target package. This means that for packages such as S-PLUS and Stata, Stat/Transfer will write out variable names and labels in lower case.


For S-PLUS and Stata only, if you want to override this behavior, click on the box to select the option Preserve Variable Name and Label Case if Possible and the case of your input variables will be preserved on output.



-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc


*
* 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