Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How would you delete duplicate observations?

Answer Posted / srinivas

there 3 options to delete duplicate obs
1. nodup
2. nodupkey
3.noduprec

if a entire record is duplicated in sense we use nodup of
nodup rec in proc sort procedure.
proc sort data=dsn nodup/noduprec;
by var;
run;


if a variable is repeated not a entire record . this time
we use nodupkey

proc sort data=dsn nodupkey;
by var;
run;

ex; in a dataset empid is repeated then use this syn. and
the empid is used in by var statement.

Is This Answer Correct ?    19 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the internal authentication work in sas? : sas-grid-administration

1085


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1034


Explain substr function?

1052


What is the difference between %local and %global? : sas-macro

1138


What is a method to debug and test your SAS program?

1304


How to create a permanent sas data set?

1166


What are the scrubbing procedures in sas?

964


What is the basic syntax of a sas program?

1167


What are the difficulties u faced while doing vital signs table or dataset?

2357


How are numeric and character missing values represented internally?

1625


Which date function advances a date, time or datetime value by a given interval?

1103


explain the use of % includes a statement in sas? : Sas-administrator

967


what is sas database server? : Sas-di

1078


Explain the use of proc gplot? : sas-grid-administration

948


For clinical entire study how many tables will create approx?

1929