Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

st: RE: RE: list subjects with a similar value

Whoa! The question was just about _listing_. You just changed Raoul's dataset by throwing much of it away.

duplicates tag Dateofbirth, gen(tag) sort dateofbirth list id dateofbirth if tag

Nick [email protected]

Marino, Jennifer > Maybe try something along these lines: > > duplicates Tag Dateofbirth, gen(tag) > drop if tag==0 > sort dateofbirth > by dateofbirth: list id

Raoul C Reulen > I have a large database and would like to list the idnumber of all > subjects with the same date of birth. How do I do this? I have tried > .duplicate, but can figure out how to do it. Thanks.

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



This post first appeared on Statalist, please read the originial post: here

Share the post

st: RE: RE: list subjects with a similar value

×

Subscribe to Statalist

Get updates delivered right to your inbox!

Thank you for your subscription

×