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


Please Help Members By Posting Answers For Below Questions

What is the role of unrestrictive users? : sas-grid-administration

777


How do you use the do loop if you don’t know how many times you should execute the do loop?

1000


Why double trailing @@ is used in input statement?

928


describe about metadata object? : Sas-di

817


What is the difference between %put and symbolgen? : sas-macro

917


how does sas handle missing values in formats? : Sas programming

836


What are the features of SAS?

786


describe how to adjust the performance of data integrator? : Sas-di

759


What can be the size of largest dataset in SAS?

939


it will become easy if uuu provide website linkssss and list of consultanciessssss

1743


Can you explain the process of calendar?

856


How would you define the end of a macro?

879


What are the different versions of sas that you have used until now? : sas-grid-administration

1035


What is the function of Stop statement in a SAS Program?

885


What versions of SAS have you used (on which platforms)?

1243