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

Answer Posted / dilip

proc sort data=x out=y;
by v;
data m;
set y;
by v;
if first.v and last.v then delete;
run;


this is for extracting duplicate observations
from a dataset

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

855


which features do you use to check the data validations and errors? : Sas-administrator

815


what is business intelligence? : Sas-bi

809


Describe 5 ways to do a “table lookup” in SAS?

884


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

829


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1679


explain the key concept of sas? : Sas-administrator

757


describe the interaction table in sas di? : Sas-di

791


explain the difference between proc means and proc summary?

880


how would you create multiple observations from a single observation? : Sas programming

778


how do the in= variables improve the capability of a merge? : Sas programming

1181


what is broad cast agent? : Sas-bi

827


name several ways to achieve efficiency in your program? : Sas programming

770


why is sas considered self-documenting? : Sas programming

869


For what purposes have you used sas macros? : sas-macro

772