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 are the different types of sas functions?
What does PROC print, and PROC contents do?
What is the difference between INPUT and INFILE ?
what is the purpose of _error_? : Sas programming
what are the considerations when picking a SAS/STAT procedure?
how are numeric and character missing values represented internally? : Sas programming
what is sas olap server? : Sas-di
how will you locate the sas platform applications? : Sas-bi
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
What are pdv and it functions?
What is the general format of function in sas? : sas-grid-administration
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
How do dates work in SAS data?
what is the Population you used in your project, is it ITT or PP?
What is the difference between nodupkey and nodup options?