How would you delete observations with duplicate keys?
Answer Posted / g.jyotshna
proc sort data=datasetname nodup;
by var;
run;
proc sort data=datasetname nodupkey;
by var;
run;
proc sort data=datasetname noduprecs;
by var;
run;
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to convert a numeric variable to a character variable?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
What are the differences between proc means and proc summary?
Mention the difference between ceil and floor functions in sas?
What are the prime responsibilities of data integration administrator? : Sas-di
What do you know about sas data set?
What is the function of Stop statement in a SAS Program?
Are you involved in writing the inferential analysis plan? Tables specfications?
What is the good sas programming practices for processing large data sets?
what are some differences between proc summary and proc means? : Sas programming
What is PDV?
What are the table names in oracle database...?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
What makes sas stand out to be the best over other data analytics tools?
describe about metadata object? : Sas-di