logNormal
logNormal(
options?):NumberSampler
Defined in: src/distribution/continuous/normal.ts:52
Log-normal: a normal variable exponentiated. mu and sigma describe the underlying normal, not this distribution.
Parameters
Section titled “Parameters”options?
Section titled “options?”LogNormalOptions = {}
Returns
Section titled “Returns”Example
Section titled “Example”const income = logNormal({ mu: 10, sigma: 0.6 });income.sample(); // 26401.83...