I need to create a matrix having 734 rows and 17 columns the row and column total are fixed how do i create such matrix having random values obeying the restriction i mentioned...I am using proc iml and this code but it is not working properly proc iml; use outd; read all var {outd}; use ctrstat1; read all var {count_sum}; a= j(734,17); do i=1 to 12478; call randseed(123); call randgen(a, "Uniform"); end; a[+, ] = count_sum ; a[ ,+] = outd ; print a; quit; outd is the vector having total of each row and count_sum is the vector having sum of each column..Please Please help
... View more