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: Trying to import an XML file into STATA


From   Phil Schumm <pschumm@uchicago.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Trying to import an XML file into STATA
Date   Wed, 30 Jun 2010 15:24:06 -0500

On Jun 30, 2010, at 2:16 PM, Helen Gibbs wrote:
I am having to export out of SPSS into an excel document and save as an XML file (2003 version), then when I try to import it.


I'm not an SPSS user, but it appears that you can save an SPSS dataset in Stata format directly from within SPSS (e.g., http://www.ats.ucla.edu/stat/mult_pkg/faq/fromSPSS_toStata.htm) . Seems like that would be an easier, and perhaps better, option. One you have a Stata format dataset, you can bring into your Stata session only those variables you need for the task at hand (i.e., by passing a varlist to -use-).


-- Phil

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