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
State the difference between INFORMAT and FORMAT ?
How would you define the end of a macro? : sas-macro
What is Linear Regression?
Difference between nodup and nodupkey options?
What is the differnce between SDTM 3.1.2 to 3.1.1 version
Tell me more about the parameters in macro? : sas-macro
How can sas program be validated?
What do you know about symput and symget?
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
what versions of sas have you used (on which platforms)? : Sas programming
what are sas/access and sas/connect? : Sas programming
how many types of prompts are there? : Sas-bi
where to use sas business intelligence? : Sas-bi
Which command is used to perform sorting in sas program?
What are the difference between the sas data step and sas procs?