Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: SAS to Stata


From   Hillel Alpert <[email protected]>
To   [email protected]
Subject   st: SAS to Stata
Date   Sun, 17 Jan 2010 15:47:43 -0500

Dear Stata Users,
 
I assume this is not at all a new question.  We have a SAS file (for Windows) that contains string variables with value labels that are identified in an accompanying formats file.  I find that the usesas command and Stat Transfer will copy the data to Stata but not the value labels. Is another utility or function within Stata available that can readily import SAS data with value labels associated with string variables, without having to edit format files from within SAS? Alternatively, is a data conversion program available that can change SAS string variables which are numbers to integer variables before using Stat Transfer to copy the data so that the value labels can be properly imported as well? I think this would be a good feature to find in Stat Transfer. 
 
Hillel
 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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