Statalist


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

st: finding duplicates in two groups


From   Michael McCulloch <mm@pinest.org>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: finding duplicates in two groups
Date   Thu, 14 Aug 2008 20:58:21 -0700

Dear Statalist members,
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.

-- 

Best wishes,
Michael McCulloch



Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel:	(415) 407-1357
Fax:	(415) 485-1065
mcculloch@pinestreetfoundation.org
www.pinestreetfoundation.org

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