LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2012, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 19 Apr 2012 11:25:10 -0500
Reply-To:   Joe DeShon <joedeshon@COMCAST.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Joe DeShon <joedeshon@COMCAST.NET>
Subject:   Difference between rand('UNIFORM') and ranuni(0)?
Content-Type:   text/plain; charset="us-ascii"

Is there any real difference between rand('UNIFORM') and ranuni(0)?

When comparing two "sibling" programs that I had written some time ago, I noticed that in one case I used rand('UNIFORM') and in the other I used ranuni(0). I wondered why I wasn't consistent.

Was there a reason I chose one over the other? Or was it just a (random) luck of the draw?

Any insights into my brain? Is there any real functional difference between the two?


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