Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: detecting repeated ID's
From
Jeph Herrin <[email protected]>
To
[email protected]
Subject
Re: st: detecting repeated ID's
Date
Mon, 05 Aug 2013 16:01:34 -0400
bysort propertyID: gen entries = _N
hth,
Jeph
On 8/5/2013 3:45 PM, David Jones wrote:
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/