how do we get duplicate observations in a separate dataset?
Answer Posted / bitla
ex:
data dup1 dup2;
set original;
by dup_var;
if first.dup_var then output dup1 else output dup2;
run;
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is the difference between INPUT and INFILE ?
What is the use of divide function?
What are the default statistics for means procedure?
What does proc print, and proc contents are used for?
What areas of SAS are you most interested in?
how does sas handle missing values in assignment statements? : Sas programming
What do you know about sas and what we do? : sas-grid-administration
How do dates work in SAS data?
what is sas metadata server? : Sas-di
What are the data types that sas contain?
Mention what is the difference between nodupkey and nodup options?
How can you create a macro variable with in data step? : sas-macro
how to debug and test the sas program? : Sas-administrator
How to test the debugging in sas?
What are the statements that are executed only?