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]

st: RE: Stat Transfer Question


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



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