LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (March 2011, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page