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
Explain the purpose of substr functions in sas programming.
What is your favorite all time computer book? Why?
What is the use of PROC gplot?
What is the difference between proportion and average?
What is the difference between using drop = data set option in data statement and set statement?
Describe the function and utility of the most difficult SAS macro that you have written?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
how does sas handle missing values in a merge? : Sas programming
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
Describe the function and untility of the most difficult SAS macro that you have written.
How sas treats the dsd delimiters?
What’s the difference between var b1 – b3 and var b1 — b3?
how will you locate the sas platform applications? : Sas-bi
What do you know about sas data set?
for report generation which one you used proc report or data_null_?