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 has been your most common programming mistake? : Sas programming
Tell e how how dealt with..
how does sas handle missing values in sort order? : Sas programming
Which are the statements whose placement in the data step is critical?
Explain why double trailing @@ is used in input statement?
how do you pull data from equifax?tell me the process?
What is maximum number of rows and cols can be handled in SAS?
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.
What is the purpose of trailing @ and @@? How do you use them?
Explain how you can debug and test your SAS program?
What is the good sas programming practices for processing large data sets?
Of all your work, where have you been the most successful?
what r the job openings SAS for fresher graduates !
What are the difficulties u faced while doing vital signs table or dataset?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi