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

Re: st: transferring data from SPPS to STATA


From   "Amy Dunbar" <Amy.Dunbar@business.uconn.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: transferring data from SPPS to STATA
Date   Mon, 15 Nov 2004 09:02:32 -0500

I ran into an overflow problem when I used Stat Transfer to convert an
Excel file of Compustat variables to a Stata dataset.  The problem
turned out to be the CUSIP variable (a firm identifier variable that has
numbers and letters), which I failed to format as a string variable.
Because of the letter E in some CUSIPs, some "values" were read as
exponential numbers.  Once I corrected that problem, the overflow
problem was also corrected.  

Amy Dunbar 
Dept of Accounting
University of Connecticut

-
------------------------------------------------------------------------

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

------------------------------


*
*   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