Date: Wed, 9 Mar 2011 20:57:41 -0500
Reply-To: stat <tano.tano.2008@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: stat <tano.tano.2008@GMAIL.COM>
Subject: how do you generate a random ..
Hey Sas-L users i have a question on how you generate a random variable in
general when you know the distribution of the r.v .In case it is a N(1,4) i
can use the Rannor function *****
data normal;
do t=0 to 1000;
e=1+2rannor(3);
output;end;
But what if you have a binomial , chi-square ,t or F distribution .How do you
use the Ran function in this case ?
Thanks
|