My SAS Tutorials

Thursday 26 September 2013

SAS INTERVIEWS CONCEPTUAL QUESTIONS XIV

WE HAVE TWO SAS DATA SETS:



Data one;
drop i j;
array a[60];
array b[60];
do j=1 to 1000;
do i=1 to 60;
a[i]=int(ranuni(i+j)*10);
b[i]=int(ranuni(j)*10);
end;
output;
end;
run;


Data two;
drop i j;
array a[60];
array b[60];
do j=1 to 1000;
do i=1 to 60;
a[i]=int(ranuni(i+j)*10);
b[i]=int(ranuni(j)*10);
end;
output;
end;
run;


WE HAVE TO CREATE A SAS DATA SET "THREE" THAT SHOULD HAVE DIFFERENCE OF THE COMMON VARIABLES OF DATA SETS "ONE" AND "TWO".

Now prepare your Base SAS and Advance SAS Certification Exams with Online Mock tests:  http://exam.sankhyana.com


For training related info kindly mail us at info@sankhyana.com
www.sankhyana.com



1 comment:

  1. can anyone give answer of this question? what i think is that value of common variables of data sets "ONE" and "TWO" are same.so there will be no difference.

    ReplyDelete