UCLA Academic Technology Services HomeServicesClassesContactJobs
Search

Stata FAQ

How do I convert among SAS, Stata and SPSS files?

On this page, conversions of different data formats are discussed.  In general, the strategies should work with SAS 9.*, SPSS 14+ and Stata 9.  If you have Stata 10 and you need to convert your data to other formats, you need to use the saveold command within Stata for saving the data in Stata version 9 format before you convert the data set.

  To SAS To SPSS To Stata
From SAS  

- How do I use a SAS data file in SPSS?

- How do I use a SAS data file in Stata?
From SPSS

- How do I use a SPSS data file in SAS?

  - How do I use a SPSS data file in Stata?
From Stata - How do I use a Stata data file in SAS?

- How do I use a Stata data file in SPSS?

 

Another way to convert data files between SAS, Stata and SPSS is to use programs such as Stat/Transfer or DBMS Copy.  For more information on Stat/Transfer, please see our Stat/Transfer page.  With the newest version of Stat/Transfer (version 9), you can transfer the SAS version 9.*, Stata 10 and SPSS 16 files.  Stat/Transfer allows you to transfer data files to many other file formats, including Statistica, Systat, S-Plus, R, Excel, Access, Minitab, Matlab, Lisrel and JMP.  You may need to update your copy of Stat/Transfer to be able to transfer data sets created by the latest version of the software.  To update Stat/Transfer, click on the "About" tab (in the upper right corner), and click on the "Check for Updates" pull-down menu and select "Right Now".


How to cite this page

Report an error on this page

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California