There are several ways to get rid of duplicate records in SAS. The examples below are for records that are exactly alike. If you need to get rid of records that have duplicate IDs, see Removing records with duplicate IDs.
proc sort; by id; data h; set input; by id; if first.id; proc print; var id h;
In the above case, 'last.id' can be used in place of 'first.id.'
proc sort noduprec; by id; proc print; var id h;
Recent resources, events, news
Knodel et al. "Gendered Housework in Vietnam." PSC Research Report.
Couper. Designing Effective Web Surveys
Monday, Oct 13
Jamie Jones
"Fertility & Risk Aversion on Utah Frontier"
W A R N I N G
If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software today. The following are good choices: Firefox 2; Opera 9; Safari 3.