Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: RE: Finding and tagging overlapping groups


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: RE: Finding and tagging overlapping groups
Date   Fri, 29 Jul 2005 21:18:04 -0500

I didn't think it was so simple, but I did not find the question very clear.
Are the linked observations defined when zdup and edup are greater than zero
or on some other criteria?  Do the linked observations comprise one group
and the unlinked observations a second group?  Or does each of the unlinked
observation comprise a separate group?....Anyway, I think your
interpretation is correct and I am glad you had a solution.

Scott


> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Michael Blasnik
> Sent: Friday, July 29, 2005 6:52 PM
> To: [email protected]
> Subject: st: Re: RE: Finding and tagging overlapping groups
> 
> I don't believe this response answers the (admittedly somewhat confusing)
> request at all, it just happens to work for the sample observations given.
> It only works if one observation is completely unique on the 2 vars and
> all
> others form one group with overlap.  I think the post was looking for a
> way
> of classifying cases into groups (most likely more than 2) if they match
> on
> either of two variables anywhere in the dataset.
> 
> Michael Blasnik
> [email protected]
> 
> ----- Original Message -----
> From: "Scott Merryman" <[email protected]>
> To: <[email protected]>
> Sent: Friday, July 29, 2005 7:41 PM
> Subject: st: RE: Finding and tagging overlapping groups
> 
> 
> > gen group = cond(zd>0 | ed>0, 1, 2)
> >
> > Scott
> 
> 
> *
> *   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/


*
*   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