In Linux, using Stat/Transfer, how do I convert a SAS data set into a Stata data file?
The Stat/Transfer program converts data to and from various statistical and database packages.
Note: To access Stat/Transfer on Quarry, you need to temporarily add a StatTransfer keyword to your software environment using the following command:
soft add +StatTransferYou can also change your environment permanently by editing your
~/.soft file. For more, see On Big Red and Quarry at IU, how can I use SoftEnv to customize my software environment?
To use Stat/Transfer to convert a SAS data set (e.g.,
input_data.sas7bdat) to a Stata data file
(e.g., output_data.dta ), at the Unix
prompt, enter:
You can find information about other file formats that Stat/Transfer supports by accessing the Stat/Transfer help files. To run Stat/Transfer, at the Unix prompt, enter:
stAt the st> prompt, enter:
For more about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.
Last modified on April 19, 2011.







