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
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')
|