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

Re: st: consistency of sort?


From   Gabriel Demombynes <[email protected]>
To   [email protected]
Subject   Re: st: consistency of sort?
Date   Mon, 20 Dec 2004 09:12:02 -0800 (PST)

There it is right there in the -sort- help file where
I should have been able to find it myself. Thanks!

The original problem I had with -swor-, I see, was due
to the use of -by- with multiple applications of
-swor- to the same data. If you wanted to use -swor-
and avoid the problem, you could edit swor.ado to add
the stable option to the sort performed within the ado
file. 


--- Richard Williams <[email protected]>
wrote:

> At 08:39 AM 12/20/2004 -0800, Gabriel Demombynes
> wrote:
> >use temp, clear
> >sort cluster
> >li
> >
> >This produces different results each time. Although
> >the dataset is sorted by cluster each time, the
> order
> >within cluster is different.
> >
> >Is this a general phenomenon, or is this somehow
> >particular to my data? This is an older dataset,
> with
> >variables originally created in version 6.
> 
> Add the -stable- option to sort.  See -help sort-
> 
> 
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
> FAX:    (574)288-4373
> HOME:   (574)289-5227
> EMAIL:  [email protected]
> WWW (personal):    http://www.nd.edu/~rwilliam
> WWW (department):    http://www.nd.edu/~soc
> 
> *
> *   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/
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com 
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index