Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "MacLennan, Graeme" <g.maclennan@abdn.ac.uk> |
To | "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: Stat Transfer Question |
Date | Wed, 12 Oct 2011 08:55:44 +0100 |
Jake, a .txt file is not an SPSS file (SPSS data sets are .sav), furthermore you can open SPSS syntax files .sps in Notepad (or another text editor) or your web-browser. This will tell you about the structure of the text file, which you can also explore easily with a text editor or your web-browser. Then you will know what command is required in Stata (-infile- -insheet- whatever, depending on tab, space, comma separated and so on). HTH, Graeme. -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Jacob Robbins Sent: 11 October 2011 17:29 To: statalist@hsphsun2.harvard.edu Subject: st: Stat Transfer Question Dear All, I have recently downloaded some SPSS data files from the ICPSR and would like to convert them to .dta using Stat/Transfer. For every one dataset there are two files of the following form; data.txt syntax_file.sps