how to display duplicated observations in a data using base
sas.

Answers were Sorted based on User's Feedback



how to display duplicated observations in a data using base sas...

Answer / ganesh k

data dset1;
set dset;
by var1;
if last.var1>1 then output;
run;

Is This Answer Correct ?    1 Yes 4 No

how to display duplicated observations in a data using base sas...

Answer / suresh babu prattipati

hi,
to display the dups in seperate dataset please find the
below program.

eg:
data dups;
input var1;
1
2
3
4
4
3
5
6
;
run;

/*to find the dups*/


data dups1;
set dups;
by var1;
if not(first.var1 and last.var1) then output;
run;

*now you can see the dups ;

If any one have any sas question please e.mail me to

suresh.sasv9@gmail.com

thanks
suresh

Is This Answer Correct ?    5 Yes 9 No

how to display duplicated observations in a data using base sas...

Answer / harish

we can find duplicated by using missover&scanover

Is This Answer Correct ?    2 Yes 17 No

Post New Answer

More SAS Interview Questions

what is the use of proc sql?

5 Answers   CitiGroup,


. Which date advances a date, time or date/time value by a given interval?

8 Answers  


how to intersect the tables by using PROC MIXED?

1 Answers   CitiGroup,


What is the difference between the proc sql and data step?

0 Answers  


Tell me about % include and % eval? : sas-macro

0 Answers  






Do you need to rearrange the order of the data for the report?

0 Answers  


Describe the function and untility of the most difficult SAS macro that you have written.

0 Answers  


how can you create zero observation dataset? : Sas programming

0 Answers  


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.

0 Answers  


tell me about intnx, intcx functions?

4 Answers   CitiGroup,


Name and describe few sas character functions that are used for data cleaning in brief.

0 Answers  


Explain translate function?

0 Answers  


Categories