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: Generating labels
From
Carlos Valencia <[email protected]>
To
[email protected]
Subject
st: Generating labels
Date
Tue, 27 Aug 2013 13:22:36 -0500
Hi, I'm new on stata
I would like to add lables to some variables (or generate a new text
variable), which have the same code as in the example , but are in
fact, different, as in the example: The main city of the state
"Antioquia" coded by "1" is Medellin, and the main city of the state
"Cundinam" is 1 as well.
YEAR MONTH SEX STATE MUNICIP MUNICIP2
1996 11 0 Antioquia 1 Medellin
1988 7 1 Cundinam 1 Bogota
1982 4 1 Bolivar 1 ...
Since there are many cities belonging to some municipalities using the
same value, how can I handle this, without changing all the cities
manually?
Thanks by your help
*
* 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/