Lognormal
Models the lognormal distribution This distribution is commonly used to model the time of a task
Parameters: mean and variance.
Note: these parameters are the actual mean and variance of the lognormal distribution, not some underlying normal distribution as in many implementations.
Parameters
must be > 0
must be > 0
an optional name/label
Constructors
Properties
Functions
Computes the first order loss function for the function for given value of x, G1(x) = Emax(X-x,0)
The log-density computed directly, so a point far in the tail keeps its true value where pdf would underflow to zero: -ln x - ln(sigma) - ln(2 pi)/2 - z^2/2 with z = (ln x - mu)/sigma for x > 0, and the ln(Double.MIN_VALUE) floor where pdf is zero.
Gets the parameters for the distribution
Sets the parameters for the distribution mean = parameters0 and variance = parameters1
Sets the parameters of a lognormal distribution to mean and variance. Note: these parameters are the actual mean and variance of the lognormal, not the underlying normal as in many other implementations.
Promises to return a random variable that uses the supplied stream number using the supplied stream provider
The second order loss function, (1/2)Emax(X-x,0)^2.
The third order loss function, (1/6)Emax(X-x,0)^3.