how do we get duplicate observations in a separate dataset?
Answer Posted / vipin choudhary
Proc sort data = indata;
by name;
run;
Data outdata;
set indata;
by name;
if first.name and last.name then delete;
run;
proc print data = outdata;
run;
or else you can use the dupout option in proc sort
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How does the internal authentication work in sas? : sas-grid-administration
Hi, If anyone has base SAS certification dumps, please share.
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
Explain translate function?
What is the difference between proportion and average?
Can you explain the process of calendar?
What is the basic syntax of a sas program?
Differentiate between format and informat? : sas-grid-administration
Which statement does not perform automatic conversions in comparisons?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
what is sas and what are the functions? : Sas-administrator
Are you involved in writing the inferential analysis plan? Tables specfications?
What do you code to create a macro? : sas-macro
Briefly explain input and put function?
For what purpose would you use the RETAIN statement?