how to display duplicated observations in a data using base
sas.
Answer Posted / suresh babu prattipati
hi,
to display the dups in seperate dataset please find the
below program.
eg:
data dups;
input var1;
1
2
3
4
4
3
5
6
;
run;
/*to find the dups*/
data dups1;
set dups;
by var1;
if not(first.var1 and last.var1) then output;
run;
*now you can see the dups ;
If any one have any sas question please e.mail me to
suresh.sasv9@gmail.com
thanks
suresh
| Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
how do you want missing values handled? : Sas programming
what are the benefits of data integration? : Sas-di
how the sas basic syntax style described? : Sas-administrator
what are the best practices to process the large data sets in sas programming? : Sas-administrator
Give e an example of..
how would you create multiple observations from a single observation? : Sas programming
What would be the value of month at the end of data step execution and how many observations would be there?
Are you involved in writing the inferential analysis plan? Tables specfications?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
Describe the ways in which you can create macro variables? : sas-macro
what is change analysis in sas di ? : Sas-di
Of all your work, where have you been the most successful?
what is sas database server? : Sas-di
What makes sas stand out to be the best over other data analytics tools?
What is by-group processing?