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 the function of Stop statement in a SAS Program?
for what purpose would you use the retain statement? : Sas programming
Give e an example of..
What is the basic syntax of a sas program?
Name some categories in sas 9? : sas-grid-administration
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
what are _numeric_ and _character_ and what do they do? : Sas programming
why is a stop statement needed for the point=option on a set statement? : Sas programming
For what purpose would you use the RETAIN statement?
Of all your work, where have you been the most successful?
how would you create multiple observations from a single observation? : Sas programming
What are the different versions of sas that you have used until now? : sas-grid-administration
What is connection profile? : sas-grid-administration
explain the use of % includes a statement in sas? : Sas-administrator
In ARRAY processing, what does the DIM function do?