Statalist The Stata Listserver


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

st: label


From   Patricia Vera Rojas <pverarojas@yahoo.es>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index