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: Any major syntax differences in Stata 13?


From   Richard Williams <[email protected]>
To   [email protected], "[email protected]" <[email protected]>
Subject   Re: st: Any major syntax differences in Stata 13?
Date   Wed, 12 Jun 2013 12:38:06 -0500

Putting stuff like

version 12.1

at the beginning of your scripts further reduces the likelihood of having problems. Or, use the version prefix, e.g.

version 12.1: reg y x

In the past, I think some of the biggest problems have been with user-written post-estimation commands. They expect ereturned results like those from Stata version 9, and then, say, in Stata 12, the ereturned results changed. In such instances you'll want to use version control with the estimation command.

There have also been things like, say, function names changing, and the old name won't work unless you use version control. Or, there will be some tweak to the random number seed, and so even if you specify the same seed you won't be able to reproduce earlier results unless you use version control.

Whether any of this is happening in Stata 13, I don't know. But when writing your own do and ado files, it is a very good idea to include version statements just in case something does get changed in a later version of Stata. And if you are doing anything that involves generating random numbers, explicitly specify the seed if you want to be able to exactly reproduce your results later.

At 10:14 AM 6/12/2013, Nick Cox wrote:
Throughout the history of  Stata, there has been extraordinary
emphasis on _not_ breaking your previous scripts....
Nick
[email protected]


On 12 June 2013 16:01, Grant, Robert <[email protected]> wrote:
> Hi folks
>
> I am teaching with Stata 12 and expect some students to rush out and get 13 straight away. Any differences in coding that I should be aware of?
>
>    Robert Grant
>    Senior Research Fellow in Quantitative Methods
> Center for Health & Social Care Research, St George's, University of London & Kingston University
>    Honorary Statistician, Princess Alice Hospice, Surrey
>
>    [email protected]
>    +44 (0)20 8725 0142
>    http://tinyurl.com/helpwithstats
>    http://robertgrantstats.wordpress.com
>    http://www.animatedgraphs.co.uk
>
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
>
> *
> *   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/

-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam

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