The newer versions of SPSS or whatever they call it now, have a save as
option to save data as a Stata file. This works okay. You will want to
compress the data when you open it in Stata because SPSS wastes a lot of
space.
---Alan Acock
On 7/28/09 3:31 PM, "Steven Dubnoff" <[email protected]> wrote:Steven
Dubnoff
>> I was hoping someone had a
>> perl script or other way to use regular expressions or what have you
>> to convert a SAS or SPSS setup file to a stata dictionary.
>
> I am not aware of any tool that does the job. The simplest thing to
> do is to beg or borrow a copy of SPSS, read the data, save it .sav
> format and then run that file through Stat/Transfer.
>
> If that is not an option, Stat/Transfer's own schema format is very
> similar to SPSS's. It would not take much, if any, editing to convert
> the SPSS syntax files to Stat/Transfer schema files. Stat/Transfer
> can then write either a .dta or a .do file for you.
>
>
> Best,
>
> Steve
>
>
>
> *
> * 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/
*
* 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/