My SAS Tutorials

Wednesday 22 May 2013

SAS INTERVIEWS CONCEPTUAL QUESTIONS XI

We have a SAS data set:


One
-----
X
5,6,1,10
2,3
4,7,8
9

We have to create SAS data set Two:

                                  Two
                               -------

     X                 a1  a2 a3 a4 a5 a6 a7 a8 a9 a10          
-------             ---------------------------------
5,6,1,10            1    0   0   0   5  6   0   0  0    10
2,3                    0    2   3   0   0  0   0   0  0     0
4,7,8                 0    0   0   4   0  0   7   8  0     0
9                       0    0   0   0   0  0   0   0  9     0

Variables:  X A1-A10

I will always appreciate most efficient SAS program which is taking the least resources.

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