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: Combining string and numeric variables


From   "Miguel A. Duran" <[email protected]>
To   <[email protected]>
Subject   st: Combining string and numeric variables
Date   Wed, 4 Dec 2013 10:48:45 +0100

Hi, statalisters. I have a panel data set in long form. This panel data set
has two variables to identify observations, one for country (eg, UK) and one
for region (eg, 11 or M0). I have to transform the dataset into wide form.
Nevertheless, to do this, if I am not mistaken, previously I have to combine
these two identifying variables (to generate, eg, values such as UKM0). Does
anyone know whether this can be done with Stata? Thanks in advance.

Miguel A.

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


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