name: op-synth-pareto
description: Heavy-tailed Pareto samples; xm is the scale (minimum), alpha the shape (tail weight).
kind: operator
category: SYNTH
operator: pareto
type: reference
applies_to: inspect, predict, manifest
examples_tags: [synth, distribution-shape, outlier-detection]
Synth distributions emit per-row values; no Response.Components. No MCP tool runs synth: the CLI (pulse synth from-schema) or Pulse.Synth does (synthetic-data).
Use when
Draws heavy-tailed values above a minimum, where a small share of rows holds most of the total, like wealth or file sizes.
Questions it answers:
- How do I simulate customers where the top fifth spend most of the money?
- How do I generate file sizes with a few huge files?
Use something else:
lognormalwhen the tail is long but values have a typical size.exponentialwhen the values are waiting times between events.
Params
| Name | Type | Default | Description |
|---|---|---|---|
xm | float | 1 | Scale (minimum emitted value); must be > 0. |
alpha | float | 1.5 | Shape; must be > 0. Larger alpha → lighter tail. |
Inputs
field type: — numeric: u4/u8/u16/u32/u64, f32/f64, decimal128. Output is always >= xm.
Output
Per-row float64 sample from a Pareto Type-I distribution. Drawn via inverse CDF: xm / U^(1/alpha), U uniform on (0, 1].
Contract
- Applies to:
numericfields.
Gotchas
alpha <= 1→ no finite mean.alpha <= 2→ no finite variance. Document the choice if downstream tests assume moments.xm <= 0oralpha <= 0→SERVICE_VALIDATIONbefore any row is written.- The tail dominates the moments — a Pareto mean converges slowly; prefer the median for the centre.
- Common synthetic-wealth pattern:
xm = 10_000,alpha = 1.16reproduces an 80/20 Pareto split. - No clamp param — use
constraintsto bound the tail when needed (e.g.wealth < 1e9).