FAQ - Stata Files
Return to the
Support Page

Q. When I transfer a 10 digit identifier to Stata, the it seems to be transferred inaccurately.  What is going on?

A.  You probably have the Automatically optimize target types option in the Options(1) dialog box set to Off.

The solution is to do one of the following:
1.   Manually change the output type of the id number to long or double.
2.   Press the Optimize button in the Variables dialog box so that Stat/Transfer will automatically put each variable in the smallest type that will maintain its precision.
3.   Check the Automatically optimize target types option in the Options(1) dialog box or use the SET command AUTO-OPTIMIZE, so that optimization is performed automatically every time you transfer.

This final option is probably the best solution if you don’t want to worry about these issues at all.


Q. Why do all of my labels and variable names come out in lower case when I transfer a file to Stata.

A. That’s not a bug — it’s a feature. We respect the “style” of the package to which we are transferring and packages such as S-Plus and Stata favor lower case letters.  If you would like to maintain the case of your variable names and labels, check the Preserve Label and Case option in the Options(1) dialog box.
 

FAQ

[Home] [Products] [Ordering] [Downloads] [Support] [Lists] [Contact Us]

Please contact our Webmaster with questions or comments.