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

what is metadata? : Sas-bi

601


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

750


how to read the variables in sas? : Sas-administrator

554


What is the maximum length of the macro variable?

678


Describe the ways in which you can create a macro variable?

627






How many data types are there in SAS?

634


Do you know the features of sas?

593


Explain input and put function?

647


why a stop statement is needed for the point= option on a set statement?

626


What system options would you use to help debug a macro? : sas-macro

641


where are dashboard components are created and maintained? : Sas-bi

569


what can you learn from the sas log when debugging? : Sas programming

611


What is the difference between proportion and average?

2758


What are the difference between sas functions and procedures?

640


what are several options for creating reports in web report studio? : Sas-bi

631