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

st: RE: Sorting huge Datasets


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Sorting huge Datasets
Date   Thu, 4 Nov 2004 14:54:25 -0000

help sort 

-sort- doesn't sort if the observations 
are already sorted according to the order
specified. 

help missing 

Nick 
n.j.cox@durham.ac.uk 

Barbara Hofmann
 
> are there any commands which change the actual sort sequence 
> of a dataset? 
> 
> We got the problem of having some big datasets that must to 
> be sorted every time by the same variables before executing 
> commands on them. It takes up a lot of time to sort them, so 
> we got two questions. 
> First, are there certain commands that change the sort 
> sequence and others who keep it? And second, is there any 
> command (e.g. assert) in order to check the sort sequence and 
> only in case of being unsorted sorts the data?
> 
> ps: what is the intern value of a missing?

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