how to display duplicated observations in a data using base
sas.
Answer Posted / aravind rangaraj
two ways u can do ot.
1. proc sort with dupout option.
2. data step:
data nodups dups;
set sample;
by x;
if first. and last. then output nodups;
else output dups;
run;
proc print data=dups;
run;
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
explain the use of % includes a statement in sas? : Sas-administrator
What do you know about sas and what we do? : sas-grid-administration
What is the basic syntax of a sas program?
What is the difference between %local and %global? : sas-macro
what is sas application server? : Sas-di
What is the maximum and minimum length of macro variable
Difference between informat and format?
Name any two sas spawners? : sas-grid-administration
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
What is the purpose of _character_ and _numeric_?
what is snowflake schema? : Sas-di
What is the basic structure of a sas program?
Define run-group processing?
How to test the debugging in sas?
What is substr function?