lognormal()

Agent action that returns a variate of a lognormal distribution.

Synopsis

lognormal(median, dispersion)

Description

Returns a variate of a lognormal distribution. It is often used to model waiting times.

Parameters

median

The median of the distribution.

dispersion

The dispersion of the distribution.

Returns

Returns a variate of a lognormal distribution.

Examples

The following state will make entering agents collectively wait with a lognormal distribution(median = 5, dispersion = 2) of individual hourly wait times:

state Test{
    wait(lognormal(5, 2))
    next(Excluded)
}

See Also

bernoulli(), binomial(), cauchy(), chi_squared(), extreme_value(), fisher_f(), gamma(), gompertz(), negative_binomial(), normal(), poisson(), student_t(), uniform(), weibull()