what are methods to identify duplicate observations?
Answer Posted / natrajboga
you can Identify the duplicate values by using
1) sort procedure along with the dupout= and nodupkey stmt
options and followed by BY stmt.
2) use the proc sql
for example:
proc sort data=demog dupout=dup_demog nodupkey;
by subjid;
run;
proc sql;
select subjid, count(*) from demog
group by subjid
having count(*)>1;
quit;
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
what is sas data set?
Explain data step in SAS
Describe what are the different levels of administrative users in sas? : sas-grid-administration
What do the put and input function do?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what is sas and what are the functions? : Sas-administrator
What is the difference between where and if statement?
Mention few capabilities of sas framework.
what is the difference between infile and input? : Sas-administrator
Explain by-group processing?
What are the difficulties u faced while doing vital signs table or dataset?
What is the difference between %local and %global? : sas-macro
How does proc sql work?
what is sas database server? : Sas-di
what are the benefits of data integration? : Sas-di