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
which date functions advances a date time or date/time value by a given interval? : Sas programming
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
Do you know the features of sas?
Name any two sas spawners? : sas-grid-administration
explain the function of substr in sas? : Sas-administrator
What is the basic syntax style in SAS?
What is the general format of function in sas? : sas-grid-administration
explain the use of % includes a statement in sas? : Sas-administrator
Why double trailing @@ is used in input statement?
what are the best practices to process the large data sets in sas programming? : Sas-administrator
Explain append procedure?
how many display types available in sas bi dashboard? : Sas-bi