From tlumley at u.washington.edu  Sat May  1 18:43:14 2004
From: tlumley at u.washington.edu (Thomas Lumley)
Date: Sat May  1 18:43:27 2004
Subject: [Rd] Generating Lognormal Random variables (PR#6843)
In-Reply-To: <20040501150848.E1F83ED00@slim.kubism.ku.dk>
References: <20040501150848.E1F83ED00@slim.kubism.ku.dk>
Message-ID: <Pine.A41.4.58.0405010942060.183348@homer07.u.washington.edu>

On Sat, 1 May 2004 dmurdoch@pair.com wrote:

> On Sat,  1 May 2004 17:00:28 +0200 (CEST), anthony@stat.sdu.dk wrote:
>
> >Full_Name: Anthony Gichangi
> >Version: 1.90
> >OS: Windows XP Pro
> >Submission from: (NULL) (130.225.131.206)
> >
> >
> >The function rlnorm generates negative values for lognormal distribution.
> >
> >x- rlnorm(1000, meanlog =  0.6931472, sdlog = 1)
>
> It doesn't for me, and the line you typed above makes it look like
> you're subtracting lognormals from x.
>

It would be very strange if it were producing negative numbers, as it does
it by exponentiating normals.

	-thomas


[Rd] Generating Lognormal Random variables (PR#6843)
Thomas Lumley