Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Roberto Liebscher <roberto.liebscher@ku.de> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Levelsof for more than one Variable |
Date | Mon, 21 Jan 2013 15:02:06 +0100 |
For example if I enter levelsof var1, locals(loc1) levelsof var2, locals(loc2)I obtain all unique values of var1 and all unique values of var2. But at the end I would like to have one local containing only unique values in loc1 AND loc2.
Is there anyone who can help me with this? Thanks! Roberto -- Roberto Liebscher Catholic University of Eichstaett-Ingolstadt Department of Business Administration Chair of Banking and Finance Auf der Schanz 49 D-85049 Ingolstadt * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/