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
Give e an example of..
Describe what are the different levels of administrative users in sas? : sas-grid-administration
how do you test for missing values? : Sas programming
If a variable contains only numbers, can it be a character data type?
How are numeric and character missing values represented internally?
how do you pull data from equifax?tell me the process?
Explain the use of proc gplot? : sas-grid-administration
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
explain the main difference between the nodup and nodupkey options? : Sas-administrator
how many display types available in sas bi dashboard? : Sas-bi
Explain the purpose of substr functions in sas programming.
Do you know the features of sas?
Have you ever used the SAS Debugger?
what is the use of proc sql? : Sas programming
What are the parameters of scan function?