Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: label


From   Patricia Vera Rojas <[email protected]>
To   [email protected]
Subject   st: label
Date   Thu, 6 Jul 2006 23:54:20 +0200 (CEST)

Hello,

I have :

group  cat
1       1
1       1
1       2
1       2
2       1
2       1
2       2
3       1
3       2

I want to label "cat" in this way : I want to 
label cat=1 by "A" if group=1 and by "B" if cat has the
same value (cat=1) but if group=2.

How can I do it,

Thanks,

Patricia


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y m�viles desde 1 c�ntimo por minuto. 
http://es.voice.yahoo.com
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index