From: Kris on
Hi all,

I have a few questions on the RAND () function in SAS. How does this
function work? I know that one has to supply the 'seed' value first by,

CALL STREAMINIT (seed);
x=rand('dist', mu, sigma);

But it seems that changing the value of the 'seed' changes the values
of 'x'. Why is that? If I compute an average for 100 observations and use
different seed numbers in two different runs, will the overall mean values
be the same in the two runs? What are the limits for 'mu' and 'sigma'?

Thanks in advance!

Kris