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 <[email protected]>
To   [email protected]
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 ""


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.


On Wed, 10 Nov 2004, Alejandro Delafuente <[email protected]> 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 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

phone: +49-040-42838.7498 (office)
+49-040-42838.4591 (Billon)
fax: +49-040-42838.2344
email: [email protected]
* For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index