I have been struggling to get data transferred from SAS to Stata for the past few days. My trouble is that while I can get the variable labels transferred between them, I cannot get the value labels transferred. For example, if a variable is year_in_college, the variable label is `Year in College', and the value labels are `Freshman' for the value 1, `Sophomore' for the value 2, etc., then I can get the variable label into Stata, but the value labels of `Freshman' etc, do not appear in Stata. I have tried to find a solution without success. The relevant SAS code that I have been trying without success is the following: PROC EXPORT DATA= OUT.data_to_export OUTFILE = `C:\Users\NAME\Desktop\Data\stata_dataset.dta'' DBMS= STATA LABEL REPLACE; FMTLIB= LIB.FORMATS; RUN;
... View more