Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How to drop variables with odd-numbered varname-suffix


From   "Ben Ammar" <[email protected]>
To   [email protected]
Subject   st: How to drop variables with odd-numbered varname-suffix
Date   Fri, 04 Mar 2011 18:54:26 +0100

Hi everybody,

one quick question: How can I drop variables whose varname ends with an odd number (household1  household3   household5)?
I know how to drop odd-numbered observations but unfortunately not how to delete the variable with an odd-numbered suffix itself? 

Thanks a lot!

Ben
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index