Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Q re Quarterly Labour Force Survey


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Q re Quarterly Labour Force Survey
Date   Mon, 6 Nov 2006 10:19:56 -0000

Even faster to use macrolist stuff than -summarize-. 

Nick 
[email protected] 

Ada Ma
 
> Thanks nick for the suggestion.  I have now have two list - one list
> of variables which are in the dataset throughout the entire period,
> and another list of variables which are not in every single quarter.
> I am also using -summarize- instead of -ds- as I have read it
> somewhere that it is somewhat slower to use ado files than native
> commands.

Nick Cox

> > If the issue is which of a set of names is in another list,
> > then this is very inefficient, although you might be hard put
> > to notice that.
> >
> > -ds- is an undocumented command written in Stata,
> > but as such implies an interpretative overhead which
> > is not needed here.
> >
> > The -help- for -macrolists- gives details of various
> > list operators that should offer more direct solutions,
> > including intersection, union and difference.
> >

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