Skip to content

pareto

pareto(options): NumberSampler

Defined in: src/distribution/continuous/location-scale.ts:122

Pareto: the heavy-tailed shape behind the 80/20 rule.

ShapeScaleOptions

NumberSampler

const wealth = pareto({ shape: 1.16, scale: 1000 });
wealth.sample(); // 1872.1...