Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Dimitriy V. Masterov" <dvmaster@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: string panelvar problem with xtset |
Date | Fri, 8 Apr 2011 12:48:01 -0400 |
Thanks to Nick and Maarten for their solutions. Both work very well. I did not like this approach initially because of the loss of information in mapping the ids to an integer, but that does not seem like a big deal in hindsight. Nick's distinction between unique and distinct finally makes sense too. Have a lovely weekend. DVM * * 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/