Bookmark and Share

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: How to re-program -save9- for Stata 13?


From   Stas Kolenikov <skolenik@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: How to re-program -save9- for Stata 13?
Date   Tue, 15 Oct 2013 08:41:56 -0500

Sergiy,

regarding 2), I have access at work to SPSS 21 that seems to work with
Stata 8 files (at least their internal "Save As" gives options from
Stata 5 through Stata 8). From Stata 12 that I have at work, the
-save-d files (under version 12) cannot be read by SPSS, but -saveold-
produces the version-8-compatible data set that SPSS can work with.

-- Stas Kolenikov, PhD, PStat (ASA, SSC)
-- Senior Survey Statistician, Abt SRBI
-- Opinions stated in this email are mine only, and do not reflect the
position of my employer
-- http://stas.kolenikov.name



On Tue, Oct 15, 2013 at 7:46 AM, Sergiy Radyakin <serjradyakin@gmail.com> wrote:
> Hello Marco,
>
> could you please explain a bit, why you see a need for such a program?
> If you have Stata 13, this means you can use -saveold- to save in the
> previous version, then following this FAQ all the way until version 5
> if necessary:
> http://www.stata.com/support/faqs/data-management/save-for-previous-version/
>
> If you don't have Stata 13, then you use -use13- to load the data into
> Stata 10 or later.
> http://radyakin.org/transfer/use13/use13.htm
>
>
> So I see potential clients as:
> 1) people having Stata 9 and no access to newer versions;
> 2) people having non-Stata software that can read dta format of 9, but
> not newer and the software is not going to be updated, and there is no
> access to Stata 10+
>
> Regarding 1) I was told the # is pretty small, but I don't know what
> 'small' really is. Regarding 2) I am interested in what is out there
> (regardless whether maintained or not). Can we have a headcount of the
> programs that directly read Stata datasets? Let me start:
> ADePT v.5.50.5001.23617 (supports data from Stata 8 to 13)
> ADePT Map v2 (supports data from Stata 8-11)
> R (with package foreign) (supports data from Stata 5 to 12)
> SPSS v.15+ (supports data from Stata X?X to 9?)
> Stat/Transfer (supports data from any version of Stata)
> etc.
>
> Regarding the implementation it is not at all difficult: the current
> code of use13 and use10 contains all the necessary procedures to
> implement save9 which I can do if there is any significant demand.
>
> Best, Sergiy Radyakin
>
>
>
> On Mon, Oct 14, 2013 at 8:54 AM, Marco Ercolani <m.g.ercolani@bham.ac.uk> wrote:
>> Dear Statalisters,
>>
>> I am asking for suggestions on how I can re-program -save9- so that it will work in Stata 13.
>> In other words, so it will save data in a Stata 9 format from within Stata 13.
>> I can think of two possible strategies to achieve this within Stata 13:
>>
>> Strategy 1: Edit the contents of the dataset so they conform to Stata 9 protocols, save the file,
>> then edit the the file header so that it appears to have been saved by Stata 9.
>>
>> Strategy 2: Use an existing save facility in Stata 13 that would allow me to impose limits on the
>> data so it respects Stata 9 protocols. Does such a save facility exist?
>>
>> Any help on the above two approaches or helpful suggestions for a "third way" would be welcome.
>>
>>  Marco Ercolani
>>  Department of Economics
>>  University of Birmingham
>>
>> *
>> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index