From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: analogue of NODUPKEY |
Date | Mon, 29 Dec 2003 23:32:49 -0500 |
At 11:05 PM 12/29/2003 -0500, [email protected] 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–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |