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
for whom is sas data integration studio designed? : Sas-di
How can sas program be validated?
Can you execute a macro within a macro? Describe. : sas-macro
What is the command used to find missing values?
What is slibref?
Describe the ways in which you can create macro variables?
What is the difference between nodupkey and nodup options?
How do you use the do loop if you don’t know how many times you should execute the do loop?
What does PROC print, and PROC contents do?
what is hierarchy flattening? : Sas-di
For what purposes have you used sas macros? : sas-macro
What is run-group processing?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
How to read an input file in sas?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming