Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: analogue of NODUPKEY


From   <burkom@comcast.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: analogue of NODUPKEY
Date   Mon, 29 Dec 2003 23:05:40 -0500

Dear Statalisters,

I am looking for a Stata analogue of a SAS procedure for a certain type of
duplicate removal.  Suppose a dataset has fields A-J. For all subsets of
records for which fields A-C are identical, I wish to keep only the first
record and discard the rest, keeping all fields of the retained records.
What is the simplest way to do this with Stata commands?

Thanks very much in advance.

Howard Burkom

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



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index