Date: Wed, 6 Aug 2008 12:11:23 -0400
Reply-To: KNuak <asom77@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: KNuak <asom77@HOTMAIL.COM>
Subject: SAS code to print out duplicate observations
Content-Type: text/plain; charset=ISO-8859-1
I wish to print out duplicate variables from the dataset ,ds1 below. I
have 400 id observations,with
Some ids appearing once, others twice, others thrice and so on. I want to
print out to the screen the
Duplicate ids. For instance id 1 occurred twice, id 7 occurred thrice, id
200 occurred twice and so on.
Could someone help me with the SAS code to print out duplicates, please?
Thanks. Id is sorted.