Statalist


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

st: RE: finding duplicates in two groups


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: finding duplicates in two groups
Date   Fri, 15 Aug 2008 16:42:37 +0100

I would look for -duplicates- on age, date of diagnosis, date of death,
conditionally on group being A or B. -duplicates- allows -if-. Isn't
that your question? 

Nick
[email protected] 

Michael McCulloch

I have a dataset containing survival data, in which exposure groups 
are A and B.

I wish to find records in group A that share the same values in group 
B, for each of several fields:
	age
	date of diagnosis
	date of death

I have studied the commands dups and duplicates but don't see how 
they can handle finding values from two different groups sharing the 
same values. I'd appreciate any suggestions or pointers.

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index