Hey there! I’m trying to draw random numbers from a Log-Normal distribution with a given mean and standard-deviation. As far as i know, the
LogNormal(\mu \sigma) lets you set the mean and standard deviation of the distribution. I am not really clear however, if I should feed the function with log(valuex) or just with value x, for either mu or sigma. I’m not so sure, what the documentation tries to explain (maybe it’s lack of maths…). it states:
LogNormal(mu, sig) # Log-normal distribution with log-mean mu and scale sig
So how do I do this? Say, I want to use x as mean and y as scale, do I draw from
LogNormal(log(x), y)? In R I would use the log(x), but how about Julia? Thanks so much!