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]

RE: st: recognizing patterns within two columns of data


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: recognizing patterns within two columns of data
Date   Wed, 6 Jul 2011 17:50:31 +0100

-egen, group()- ? 

Nick 
n.j.cox@durham.ac.uk 

Austin Nichols

Do you want to make an identifier as in
http://www.stata.com/statalist/archive/2011-07/msg00170.html
?

On Wed, Jul 6, 2011 at 10:12 AM, Dalhia <ggs_da@yahoo.com> wrote:
>
> I would like some advice on how to do the following. Here is how the data looks:
>
> compA holderA
> compB holderA
> compC holderL
> compD holderH
> compA holderB
> compB holderB
> compC holderB
>
> Above, there was more than one instance where compA and compB had the same holder. In a large database, how do I identify instances where a set of comps appear repeatedly with the same holders?

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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