--- Augusto Cadenas wrote:
> The issue for me is how to create a local that contains the names
> of all variables in each dataset, except for "name" and "id".
ds name id, not
local rest_vars "`r(varlist)'"
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* 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/