Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: transferring data from SPSS to STATA


From   Dirk Enzmann <dirk.enzmann@jura.uni-hamburg.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: transferring data from SPSS to STATA
Date   Thu, 11 Nov 2004 11:53:50 +0100

If you have access to SPSS one possibility is to try the SPSS script "spss2stata.sbs"

see: http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Software/Enzmann_Software.html
Enzmann_Software

The script will generate a Stata .do-file. If you know how the variables are defined in SPSS you can use it to locate your problem. However, it may well be that the .do file runs without problems (in that case the problem has something to do with how StatTransfer interprets the SPSS file).

I would be interested to know whether this helps to solve your problem.

Dirk

On Wed, 10 Nov 2004, Alejandro Delafuente <alejandro.delafuente@st-antonys.oxford.ac.uk> wrote:


Dear Statalisters:
I am trying to transfer an SPPS file to STATA format. Most of the variables are
numerical, and a few string variables. The transfer process stops at around 66
thousand cases (out of a total of approx. 137 thousand cases) displaying the
following message: "Invalid floating point operation".  I am doing the transfer
with StatTransfer from SPSS format to STATA standard version 8.0
Is there anyway I can detect the variable(s) that are causing the problem?
I have already inspected the dataset several times, but cannot spot the culprit.
Many thanks,
Alejandro

--
Alejandro de la Fuente
QEH/Department of International Development
Oxford University
*************************************************
Dr. Dirk Enzmann
Institute of Criminal Sciences
Dept. of Criminology
Schlueterstr. 28
D-20146 Hamburg
Germany

phone: +49-040-42838.7498 (office)
+49-040-42838.4591 (Billon)
fax: +49-040-42838.2344
email: dirk.enzmann@jura.uni-hamburg.de
www: http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/Enzmann/Enzmann.html
*************************************************
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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   |   What's new   |   Site index