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 are all the problems you faced while validating tables and reports?
Do you know the features of sas?
how do the in= variables improve the capability of a merge? : Sas programming
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
Describe the function and untility of the most difficult SAS macro that you have written.
Name some categories in sas 9? : sas-grid-administration
Explain the use of proc gplot? : sas-grid-administration
Do you need to rearrange the order of the data for the report?
what are the considerations when picking a SAS/STAT procedure?
what is null hypothesis? why do you consider that?
If a variable contains letters or special characters, can it be numeric data type?
How to limit decimal places for the variable using proc means?
What is the use of the %include statement?
what are _numeric_ and _character_ and what do they do? : Sas programming
What are types of transport files?