Skip to content

Generating Lognormal Random variables (PR#6843)

2 messages · Duncan Murdoch, Thomas Lumley

#
On Sat, 1 May 2004 17:00:28 +0200 (CEST), anthony@stat.sdu.dk wrote:

            
It doesn't for me, and the line you typed above makes it look like
you're subtracting lognormals from x.

Could you post a reproducible example?  For random number generators,
you can make them reproducible by using set.seed, e.g.
[1]  0.09877592 90.32586746

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

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

	-thomas