how to display duplicated observations in a data using base
sas.

Answer Posted / lakshmi

proc sort data=data1 out=data2 dupout=dup_data1 nodupkey;
by usubjid;
run;

the dataset dup_data1 has the duplicate observation.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To what type of programms have you used scratch macros?

2118


Mention what are the data types does SAS contain?

686


what versions of sas have you used (on which platforms)? : Sas programming

567


what is proc Index? and what is proc document?

1981


What are the data types that sas contain?

646






What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

667


Define run-group processing?

571


What is the purpose of trailing @ and @@? How do you use them?

601


how many types prompting framework can be broken down to? : Sas-bi

614


Difference between nodup and nodupkey options?

624


What is SAS informats?

623


Name some categories in sas 9? : sas-grid-administration

545


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

581


What Proc glm does?

597


What does PROC print, and PROC contents do?

704