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]

Re: st: Use of data originating from SPSS


From   Ronan Conroy <rconroy@rcsi.ie>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Use of data originating from SPSS
Date   Thu, 2 Feb 2012 13:53:55 +0000

I have encountered two SPSS-generated Stata datasets in which the variable contained text but was identified as numeric in Stata. 

Clearly SPSS's free Stata export command is worth every cent you pay for it.

I would recommend StatTransfer. 

r

On 2012 Feabh 1, at 17:22, Margaret MacDougall wrote:

> 
> I have recently migrated from SPSS to Stata to allow me to implement 
> fractional polynomial techniques, including the mfp procure, for a 
> logistic regression analysis. I have been able to save the original SPSS 
> file in Stata format. The variables in the SPSS file were of numeric 
> "Type" (in the sense intended by the SPSS Variable View facility) with 
> text labels linked to the numerical codes using the SPSS Value Labels 
> function. On opening up the Stata version of this file, the text labels 
> appear in the individual columns for the dependent and independent 
> variables. When I run the code for identifying the Stata file and 
> running the mfp procedure, the error code r(2000) is generated, pointed 
> to an absence of observations.
> 
> Is it possible that I require to reformat the data in some way for the 
> procedure to run successfully? I would be grateful for some handy tips 
> to save some time.

Ronán Conroy
rconroy@rcsi.ie
Associate Professor
Division of Population Health Sciences
Royal College of Surgeons in Ireland
Beaux Lane House
Dublin 2


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index