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
To what type of programms have you used scratch macros?
why is sas considered self-documenting? : Sas programming
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 difference between informat and format with an example.
Name types of category in which SAS Informats are placed?
what are 5 ways to perform a table lookup in sas? : Sas-administrator
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
What is the sas data set? : sas-grid-administration
Differentiate between sas functions and sas procedures.
Difference between nodup and nodupkey options?
Difference between sum function and using “+” operator?
How substr function works in sas?
How would you identify a macro variable?
Difference between SAS STATA & SPSS?