Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Stata 13 - saveold
From
Sergiy Radyakin <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Stata 13 - saveold
Date
Mon, 24 Feb 2014 13:24:18 -0500
Erika,
SPSS lags behind in support of newer Stata formats. There are options
however. I've posted details earlier into the SPSS forum, here:
http://spssx-discussion.1045642.n5.nabble.com/Stata-to-SPSS-conversion-td5722443.html
In short, you can downgrade the dataset from format of Stata-12 (in
which Stata 13's saveold will save data) all the way to Stata-9
format, then bring it into SPSS. You do this with saveto9.exe (it is a
standalone converter, neither Stata nor SPSS is required for it to
work):
http://www.radyakin.org/transfer/saveto9/cs/index.htm
Alternatively, you can suggest your colleagues to export data from
Stata 13 to SPSS directly, this is done with a Stata command
-savespss-:
http://www.radyakin.org/transfer/savespss/savespss.htm
It's advantage is that it (experimentally) supports long strings.
A simple tutorial is here:
http://www.radyakin.org/transfer/savespss/example_auto.htm
Both pages contain detailed explanations on how to install and use
them, as well as any limitations.
Let me know which solution worked best for you (if any).
Best, Sergiy Radyakin
PS: thanks Nick, I couldn't miss this one :)
On Mon, Feb 24, 2014 at 1:06 PM, Nick Cox <[email protected]> wrote:
> The help for -save- tells you directly
>
> "If you are using Stata 13 and want to save a file so that it may be
> read by someone using Stata 11 or Stata 12, simply use the saveold
> command."
>
> But if you are using Stata 13, and wish to save a file to be read by
> Stata 10 or some earlier version, you need either Stata 11 (or some
> yet earlier version) or to export in some other form (see -help
> export-).
>
> Sergiy Radyakin has various extras that may help you. He'll post on
> this, no doubt.
>
> Presumably SPSS can read files other than .dta too.
>
> Nick
> [email protected]
>
>
> On 24 February 2014 17:55, Erika Kociolek <[email protected]> wrote:
>> Using SPSS 21, I was able to read in files saved using the saveold
>> command in Stata 12 (saved as Stata 11 file, I think)
>>
>> Using SPSS 22, I find I am no longer able to read in files saved using
>> the saveold command in Stata 13 (saving as Stata 12 file, I think).
>>
>> I am wondering if there is a way to save files in pre-Stata 12 formats
>> using Stata 13.
>>
>> Thank you for any information or advice you can provide,
>> Erika
>> *
>> * For searches and help try:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/