Skip to content

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.

LogNormalOptions = {}

NumberSampler

const income = logNormal({ mu: 10, sigma: 0.6 });
income.sample(); // 26401.83...