Statalist The Stata Listserver

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

st: excluding variables from varlist

From   Thomas <>
Subject   st: excluding variables from varlist
Date   Wed, 24 May 2006 17:59:29 +0100


using the foreach command I would like to exclude certain variables, e.g:
"foreach var of varlist _all [/excluding a, b, c/]".

Is that possible and if so how?



Thomas Triebs
Research Assistant
Electricity Policy Research Group
Faculty of Economics
University of Cambridge
Sidgwick Avenue, Austin Robinson Bldg.
Cambridge CB3 9DE
United Kingdom
Phone: +44-1223-335287
Fax: +44-1223-335299

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index