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
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
which features do you use to check the data validations and errors? : Sas-administrator
what is business intelligence? : Sas-bi
Describe 5 ways to do a “table lookup” in SAS?
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
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.
explain the key concept of sas? : Sas-administrator
describe the interaction table in sas di? : Sas-di
explain the difference between proc means and proc summary?
how would you create multiple observations from a single observation? : Sas programming
how do the in= variables improve the capability of a merge? : Sas programming
what is broad cast agent? : Sas-bi
name several ways to achieve efficiency in your program? : Sas programming
why is sas considered self-documenting? : Sas programming
For what purposes have you used sas macros? : sas-macro