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
what other sas products have you used and consider yourself proficient in using? : Sas programming
explain the function of substr in sas? : Sas-administrator
What is the difference between match merge and one to one merge?
If a variable contains letters or special characters, can it be numeric data type?
Tell e how how dealt with..
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
What are the different versions of sas that you have used until now? : sas-grid-administration
What are the statements in proc sql?
what is star schema? : Sas-di
explain about various caches available in data integrator? : Sas-di
Describe 5 ways to do a “table lookup” in SAS?
how sas deals with business intelligence? : Sas-bi
How do you add a number to a macro variable? : sas-macro
How would you include common or reuse to be processed along with your statements?
What are types of transport files?