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
Explain the difference between using drop = data set option in set and data statement?
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?
Explain by-group processing?
How would you determine the number of missing or nonmissing values in computations?
What are the special input delimiters used in SAS?
What is the maximum length of the macro variable? : sas-macro
What is the difference between reading data from an external file and reading data from an existing data set?
What does P-value signify about the statistical data?
how do you pull data from equifax?tell me the process?
What is Linear Regression?
How do you use the do loop if you don’t know how many times you should execute the do loop?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
how does sas handle missing values in formats? : Sas programming
what is operational data and operational system? : Sas-di
Give an example where SAS fails to convert character value to numeric value automatically?