Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Ben Ammar" <Ben-Ammar@gmx.de> |
To | statalist@hsphsun2.harvard.edu |
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/