how to display duplicated observations in a data using base
sas.
Answer Posted / dilip
proc sort data=x out=y;
by v;
data m;
set y;
by v;
if first.v and last.v then delete;
run;
this is for extracting duplicate observations
from a dataset
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How to create list output for cross-tabulations in proc freq?
What versions of SAS have you used (on which platforms)?
how do you pull data from equifax?tell me the process?
What is the role of sas grid administrator? : sas-grid-administration
Describe what are the different levels of administrative users in sas? : sas-grid-administration
How do you add a number to a macro variable? : sas-macro
why is sas data integration studio important? : Sas-di
how to read the variables in sas? : Sas-administrator
What are the different operating system platforms in which we can use sas? : sas-grid-administration
Explain the main difference between the sas procedures and functions? : Sas-administrator
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
What is the function of output statement in a SAS Program?
Mention the difference between ceil and floor functions in sas?
What is the difference between match merge and one to one merge?
how do you debug and test your sas programs? : Sas programming