Write SAS codes to compare two datasets. Suppose the
allowable difference is 0.1.

Answers were Sorted based on User's Feedback



Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1...

Answer / kumar

0.1 diff can be achieved by using criterion= option in
compare.

Is This Answer Correct ?    3 Yes 0 No

Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1...

Answer / reshma

Proc compare to compare to datasets with respect to all
variables.

proc sort data= data1 ;
by var1;
run;

proc sort data= data2 ;
by var1;
run;

Proc comapre base=data1 compare=data2;
run;

don't know abt 0.1 diff

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More SAS Interview Questions

how to read raw data in sas. Do it manually and throw the programming.

1 Answers   WNS,


what is the difference between unique key and primary key? : Sas-di

0 Answers  


HOW DO WE CREATE A SAS STORED PROCESS IN SAS EG ?

1 Answers   TCS,


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

0 Answers  


What is the pound sign used for in the data_null_ ?

1 Answers  






What will calendar procedure do?

0 Answers  


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

0 Answers   CTS,


What commands are used in the case of including or excluding any specific variables in the data set?

0 Answers  


I am having a stored process.it needs to route my report to both hthml and Xls.By default SP routes to html.I used the PRINTTO to route the html to Xls.BUt it createsthe file not but no content was written to file(0KB)?how can i do it?

1 Answers  


i want to upload titles and footnotes to excel file?how it is possible?

1 Answers  


What are the main differences between sas versions 8.2, 9.0, 9.1?

4 Answers  


For what purpose would you use the RETAIN statement?

0 Answers   Quintiles,


Categories