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   "Jeph Herrin" <[email protected]>
To   <[email protected]>
Subject   RE: st: How to re-program -save9- for Stata 13?
Date   Tue, 15 Oct 2013 20:37:03 -0400

Given the first FAQ linked to below, one wonders if -version- applies to
-saveold-? I don't have a way to test it, but in theory one should be able
to use 

. version 10
. saveold file

to get a version 9 file, say, from version 13. 

J


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sergiy Radyakin
Sent: Tuesday, October 15, 2013 8:47 AM
To: [email protected]
Subject: Re: st: How to re-program -save9- for Stata 13?

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 <[email protected]>
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