Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Radwin, David" <dradwin@rti.org> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: detecting repeated ID's |
Date | Mon, 5 Aug 2013 16:02:51 -0400 |
David, See -duplicates-, e.g. . duplicates tag propertyid, generate(dup) . browse if dup David -- David Radwin Senior Research Associate Education Studies Division RTI International 2150 Shattuck Ave., Suite 800 Berkeley, CA 94704 Phone: 510-665-8274 www.rti.org > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu [mailto:owner- > statalist@hsphsun2.harvard.edu] On Behalf Of David Jones > Sent: Monday, August 05, 2013 12:45 PM > To: statalist@hsphsun2.harvard.edu > Subject: st: detecting repeated ID's > > Hi Statalist, > > I have a dataset of property sales that has an identifier for the > property ID. I want to know how many of the properties appear more > than once and then from there I'd like to restrict the observations to > only those that appear more than once (to see a change in sale value). > > I've been doing some reading but so far haven't run across a way to do > this very easily. Does anyone have any suggestions? > > Thanks! > David > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/