Statalist


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

st: Converting SAS or SPSS setup files to stata do files


From   Dana Chandler <[email protected]>
To   [email protected]
Subject   st: Converting SAS or SPSS setup files to stata do files
Date   Tue, 28 Jul 2009 15:30:09 -0500

Hello Statalist -

I just downloaded a bunch of data from ICPSR, but unfortunately not
all of it has stata do files to go from the fixed width .txt raw data
to a stata .dta dataset.

ICPSR does, however, provide setup files for SPSS and SAS. I can guess
at what the syntax is and then manually adjust it to write a stata do
file. Since it's a rather slow process, 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.

Thanks,
Dana
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index