Yep,
If you look into the R package -foreign- I'll see that it can import SPSS
files and export stata files:
- read.spss(foreign) Read an SPSS Data File
- write.dta(foreign) Write Files in Stata Binary Format
Best,
Nuno
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of P chrisman
Sent: 05 July 2006 05:00
To: [email protected]
Subject: Re: st: import SPSS files
Thanks so much to everyone for all the help. I really appreciate it!!
Peggy
Robert A Yaffee wrote:
>Peggy,
> The R program is several versions behind on the ability to read or
>import SPSS programs. If you had SPSS, you could copy and paste from
>the SPSS data editor to the Stata data editor. Alternatively, you save
>your data as a Stata 8 file from SPSS.
> If the file is in an SPSS.sav file, ask the person who sent it to you
>to provide it in an exported print or Stata file. If the person does
>not have a recent version of SPSS which can do this, have the person
>export an Excel file for you (if you have Excel).
> You can save that as a .raw file and insheet it into Stata.
> Regards,
> Robert Yaffee
>
>
>
>
>
>Robert A. Yaffee, Ph.D.
>Research Professor
>Shirley M. Ehrenkranz
>School of Social Work
>New York University
>
>home address:
>Apt 19-W
>2100 Linwood Ave.
>Fort Lee, NJ
>07024-3171
>Phone: 201-242-3824
>Fax: 201-242-3825
>[email protected]
>
>----- Original Message -----
>From: Richard Williams <[email protected]>
>Date: Tuesday, July 4, 2006 11:37 pm
>Subject: Re: st: import SPSS files
>
>
>
>>At 08:26 PM 7/4/2006, Dick Campbell wrote:
>>
>>
>>>I don't know R, but if you go to
>>>http://stat.ethz.ch/R-manual/R-
>>>
>>>
>>patched/library/foreign/html/00Index.html>you will find a routine that
>>reads SPSS.
>>
>>
>>>At 08:08 PM 7/4/2006 Tuesday, you wrote:
>>>
>>>
>>>>I cannot verify whether the file is comma-delimited or tab-delimited
>>>>as I do not have SPSS. If I did I would be able to
>>>>
>>>>
>>do
>>
>>
>>>>this without the assistance of those more knowledgeable than I. I
>>>>have only Stata and R available to me. Thanks for the assistance
>>>>
>>>>
>>and the link.
>>
>>
>>>>Peggy
>>>>
>>>>
>>Hopefully that routine will do the trick. If not I would suggest
>>
>>* Hunt around for some kindly friend who has Stat/Transfer, SPSS, or
>>DBMSCopy who will do the conversion for you
>>
>>* Peggy's email address is at washington.edu - surely somewhere on
>>campus somebody has the above programs
>>
>>* Splurge and buy Stat/Transfer, a very handy little program. See
>>
>>http://www.stattransfer.com/html/store.html
>>
>>Or, better yet, you might qualify for gradplan pricing ($63, at least
>>at my school). See
>>
>>http://www.stata.com/order/schoollist.html
>>
>>
>>-------------------------------------------
>>Richard Williams, Notre Dame Dept of Sociology
>>OFFICE: (574)631-6668, (574)631-6463
>>FAX: (574)288-4373
>>HOME: (574)289-5227
>>EMAIL: [email protected]
>>WWW (personal): http://www.nd.edu/~rwilliam
>>WWW (department): http://www.nd.edu/~soc
>>
>>*
>>* 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/
>>
>>
>>
>*
>* 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/
>
>
*
* 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/
*
* 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/