Maxima Function
random_lognormal (m,s)
random_lognormal(m,s,n)
Returns a Lognormal(m,s) random variate, with s>0. Calling random_lognormal
with a third argument n, a random sample of size n will be simulated.
Log-normal variates are simulated by means of random normal variates. There are two algorithms implemented for this function, the one to be used can be selected giving a certain value to the global variable random_normal_algorithm
, which defaults to box_mueller
.
See also . To make use of this function, write first load(distrib)
.