Skip to content

Generating Lognormal Random variables (PR#6843)

2 messages · anthony@stat.sdu.dk, Peter Dalgaard

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

Regards

Anthony
#
anthony@stat.sdu.dk writes:
Eh?
[1] TRUE

Try reproducing with a fixed random seed so that others have a chance
to check.