Statalist


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

st: RE: -Simulate- and dropping variables


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: -Simulate- and dropping variables
Date   Mon, 20 Aug 2007 15:25:31 +0100

How about 

. capture drop abc* 

? 

Nick 
[email protected] 

Rachel
 
> 2. I have a large number of variables] with the same stem "abc10 abc11
> abc12....abc99" I'd like to drop all variables with an abc* prefix if
> any such variables currently exist within the stem.
> 
>  I've tried using -isvar-, but--from my reading--that requires me to
> list out each of these variables.  Is there an easier way?

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