| From | Richard Williams <Richard.A.Williams.5@nd.edu> |
| To | statalist@hsphsun2.harvard.edu |
| Subject | Re: st: analogue of NODUPKEY |
| Date | Mon, 29 Dec 2003 23:32:49 -0500 |
At 11:05 PM 12/29/2003 -0500, burkom@comcast.net wrote:
Does the duplicates drop command do what you want? e.g.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?
| © Copyright 1996–2008 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |