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

Answer Posted / aravind rangaraj

two ways u can do ot.
1. proc sort with dupout option.
2. data step:
data nodups dups;
set sample;
by x;
if first. and last. then output nodups;
else output dups;
run;
proc print data=dups;
run;

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will calendar procedure do?

600


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

632


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1583


What are the default statistics that proc means produce?

604


What are the applications primarily used by business analyst? : Sas-bi

553






In sas, what are the areas that you are most interested in? : sas-grid-administration

641


what techniques and/or procs do you use for tables? : Sas programming

574


What is SAS?

622


how can you import .csv file in to sas? : Sas programming

640


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

545


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2009


what is sas application server? : Sas-di

541


Are you involved in writing the inferential analysis plan? Tables specifications?

3481


how do you pull data from equifax?tell me the process?

1381


For clinical entire study how many tables will create approx?

1521