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 (October 2005, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 27 Oct 2005 14:14:02 -0400
Reply-To:     Talbot Michael Katz <topkatz@MSN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Talbot Michael Katz <topkatz@MSN.COM>
Subject:      Re: Lognormal Random Sample
Comments: To: shiling99@YAHOO.COM

Ah, thanks, that one's not listed in the SAS 8 documentation, although it appears to be implemented in 8.2. But it looks like it only gives you the one lognormal distribution for which the underlying normal has mean 0 and standard deviation 1, so if you want to use it with underlying parameters mean M and standard deviation S, you have to do:

ranln = exp(M) * (RAND('LOGNORMAL'))**S ;

-- TMK -- "The Macro Klutz"

On Thu, 27 Oct 2005 10:38:29 -0700, shiling99@YAHOO.COM wrote:

>There is a lognormal random generation function > >RAND('LOGNORMAL')


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