Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: random order after sub-sorting


From   Phil Schumm <pschumm@uchicago.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: random order after sub-sorting
Date   Fri, 12 Aug 2005 12:44:12 -0500

At 12:20 PM -0500 8/12/05, Phil Schumm wrote:
As the aforementioned FAQ describes, whenever you are selecting cases based on their order, you should insure that that order is unambiguous (read reproducible).

One final remark: train yourself to use -isid- with the -sort- option instead of the -sort- command in cases where you need to establish a reproducible order (e.g., just prior to selecting cases or constructing an ID variable, when doing simulations, etc.). That way, if for any reason you fail to establish a reproducible order, you'll be sure to know about it.


-- Phil
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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   |   What's new   |   Site index