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