万分感谢啦 先~~
简介,用下面的公式设计一个SAS程序,生成n个随机数列
use something called a mixed congruential generator to manufacture our random numbers. It works
on the basis of recursion.
X
i+1 = (aXi + c)mod m, i=1,... n (1)where
X1 is the seed, a is the multiplier, c is the increment, and m =2^32-1.
Create sequence of uniform pseudo-random variates of user-speci ed length (likely 106) and parametersof the congruential generator