Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: RE: SAS Transport


From   "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: SAS Transport
Date   Tue, 31 Mar 2009 08:46:56 -0700

What does R do?  I thought it could import SAS or Stata files, but I
don't know if it preserves labeling.  Also, the price of the program is
right, but there is a cost in learning it.  I've tried many times...

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of E. Paul
Wileyto
Sent: Monday, March 30, 2009 11:07 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: RE: SAS Transport

If you have SAS 9.2 available, it will import files from Stata v10, and 
preserve labels.  I thought SAS had bought dbms copy to kill it, but it 
seems that SAS has incorporated parts of it, even though it does not 
support the stand-alone dbms copy very well.

SPSS reads and writes both Stata and SAS files, preserving labels.

Paul

Newson, Roger B wrote:
> To convert SAS data sets to Stata datasets, I personally use
Stat/Transfer, whose website is at
> http://www.stattransfer.com/
> and which has the advantage (over DBMS/Copy) that it can be called as
a DOS command. The -stcmd- package can call Stat/Transfer from within
Stata, and can be downloaded from SSC using the -ssc- command. However,
Ben (or somebody) would have to find the money to pay for Stat/Transfer.
>
> I hope this helps.
>
> Best wishes
>
> Roger
>
>
> Roger B Newson BSc MSc DPhil
> Lecturer in Medical Statistics
> Respiratory Epidemiology and Public Health Group
> National Heart and Lung Institute
> Imperial College London
> Royal Brompton Campus
> Room 33, Emmanuel Kaye Building
> 1B Manresa Road
> London SW3 6LR
> UNITED KINGDOM
> Tel: +44 (0)20 7352 8121 ext 3381
> Fax: +44 (0)20 7351 8322
> Email: r.newson@imperial.ac.uk 
> Web page: http://www.imperial.ac.uk/nhli/r.newson/
> Departmental Web page:
>
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/
>
> Opinions expressed are those of the author, not of the institution.
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Benjamin
Allaire
> Sent: 30 March 2009 17:49
> To: statalist@hsphsun2.harvard.edu
> Subject: st: SAS Transport
>
> I know that fdause cannot read SAS labels.  
>
>
> Is there any other way to
> transform SAS data into Stata data while preserving labels?  I have an
older version of DBMS copy that I could use if necessary.
>
> thanks,
> Ben
> _________________________________________________________________
> Hotmail(r) is up to 70% faster. Now good news travels really fast.
>
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_0320
09
> *
> *   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/
>
> *
> *   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/
>
>   

-- 
E. Paul Wileyto, Ph.D.
Assistant Professor of Biostatistics
Tobacco Use Research Center
School of Medicine, U. of Pennsylvania
3535 Market Street, Suite 4100
Philadelphia, PA  19104-3309

215-746-7147
Fax: 215-746-7140
epw@mail.med.upenn.edu



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

*
*   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   |   What's new   |   Site index