test
On Thu, Nov 12, 2009 at 12:29 PM, joachim jarreau
<[email protected]> wrote:
> Hi,
>
> sorry of this is too simple. Id like to know if there exists a way to create
> a local list of the existing variables in a dataset, to be used for instance
> in a "collapse" command line : I would need this command to act on different
> datasets in which the list of existing variables is not always the same : in
> some of them there are additional variables, but not in all of them, so that
> when running the do-file, the collapse line fails if it doesn't find these
> variables.
> In other words id need to do something like :
> collapse (sum) value, by( "all variables except this-that").
>
> Thanks in advance
>
> joachim
>
>
>
>
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/