How would you delete duplicate observations?

Answer Posted / poornima

we can delete duplicate observations by using nodup or
nodupkey option in the proc sort

Example :-

Proc sort data=datasetname nodup;
run;

Is This Answer Correct ?    33 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the ways in which you can create macro variables?

741


how will you location sas platform applications available from web browser? : Sas-bi

656


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

704


what is the purpose of _error_? : Sas programming

712


do you prefer proc report or proc tabulate? Why? : Sas programming

661






How would you include common or reuse to be processed along with your statements?

1998


Give some examples where proc report’s defaults are different than proc print’s defaults?

688


what is slowly changing dimension? : Sas-di

733


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

1753


Explain input and put function?

751


what are some good sas programming practices for processing very large data sets? : Sas programming

591


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

1051


What are the table names in oracle database...?

2373


what is the difference between nodup and nodupkey options? : Sas programming

735


How can you create a macro variable with in data step? : sas-macro

671