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
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
What is the work of tranwrd function?
: and & modifiers.
what is sas data set?
where are dashboard components are created and maintained? : Sas-bi
for what purpose would you use the retain statement? : Sas programming
Explain the use of proc print and proc contents?
What are the statements in proc sql?
If you could design your ideal job, what would it look like?
What is the basic structure of a sas program?
For what purpose would you use the RETAIN statement?
How long can a macro variable be? A token? : sas-macro
what is the difference between infile and input? : Sas-administrator
Are you involved in writing the inferential analysis plan? Tables specifications?
what versions of sas have you used (on which platforms)? : Sas programming