how do we get duplicate observations in a separate dataset?

Answer Posted / rajaanku11

First sort them in descending order and then using first.var
separate all the first observations into a new dataset and
the remaining into another. So unique observations from each
group
will come into one dataset and the other duplicate
observations will enter into another dataset.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of %include statement?

811


How do you convert basic cube to transaction cube and transaction cube to basic cube?

1986


What are symget and symput? : sas-macro

973


what is operational data and operational system? : Sas-di

846


What do the SAS log messages "numeric values have been converted to character" mean?

1090


What is maximum number of rows and cols can be handled in SAS?

1057


why a stop statement is needed for the point= option on a set statement?

811


how does sas handle missing values in a merge? : Sas programming

761


Difference between nodup and nodupkey options?

845


Describe the ways in which you can create macro variables? : sas-macro

770


Explain data_null_?

796


If you could design your ideal job, what would it look like?

2666


what is transformation in sas data integration? : Sas-di

750


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

758


what are sas bi dashboard components? : Sas-bi

858