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]
Re: st: Generating labels
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Generating labels
Date
Tue, 27 Aug 2013 19:28:43 +0100
Sounds as if you mean _value labels_. -search labmask- and see if it
does what you want. You need to download it before you can use it.
Nick
[email protected]
On 27 August 2013 19:22, Carlos Valencia <[email protected]> wrote:
> 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/
*
* 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/