Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Translator for SAS/SPSS control files?


From   Daniel Feenberg <feenberg@nber.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Translator for SAS/SPSS control files?
Date   Tue, 14 Dec 2010 07:34:13 -0500 (EST)


On Tue, 14 Dec 2010, Maarten buis wrote:

--- On Tue, 14/12/10, kjkhoo@softhome.net wrote:
The latest PISA data set has been made available but with
control files for SPSS and SAS. Are there any translators
out there for such files to enable the data to be read into
Stata with minimal additional work?

I don't think there is a translator for control files. The
easiest way is probably to transfer the data using
Stat/Transfer: <http://www.stattransfer.com/>

Stat/Transfer is great, but the OP would have to have SAS or SPSS
to create the binary file for S/T to translate. Sometimes the
input statements for large files are so consistent from variable
to variable that it is possible to write 5 or 10 lines of code
to translate to a Stata dictionary. A general translator that
could handle any SAS input statement would be much more complicated.

Daniel Feenberg



Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------






*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index