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

Re: st: SPSS to STATA


From   Laurel A Copeland <lacop@umich.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: SPSS to STATA
Date   Thu, 17 Oct 2002 14:06:07 -0400

A free program that can be used instead of Stat Transfer is EpiData (http://www.epidata.dk/). You can download it quickly wherever you are (I use it when I am on the road).

It will let you define a *.qes file to match your *.txt file, tab delimited. Then you can Import the *.txt file, using the *.qes file to define your variables -- names, variable types. Then the resultant EpiData file can be exported to Stata. I tried it with a ds that had the first 10 lines all missing data, and the variables were nonetheless numeric in Stata, having been defined as numeric along the way.
hth, Laurel


At 05:21 PM 10/17/2002 +0100, you wrote:

I have saved an SPSS file at tab delimited ASCII, used insheet and STATA
looks like it has read the data, but it only recognises some of the
variables and thinks that some of my numeric data are strings.  What is the
best way to do this without stat transfer?

Todd
*
*   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/
Laurel A Copeland, PhD
Data Analyst/Programmer
VA Ann Arbor Medical Center
Health Services Research & Development Field Program
P.O.Box 130170                   // 24 Frank Lloyd Wright
Ann Arbor MI 48113-0170 // Ann Arbor MI 48105
Tel: 734-930-5132
Fax: 734-930-5159

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