Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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:

  • lognormal when the tail is long but values have a typical size.
  • exponential when the values are waiting times between events.

Params

NameTypeDefaultDescription
xmfloat1Scale (minimum emitted value); must be > 0.
alphafloat1.5Shape; 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: numeric fields.

Gotchas

  • alpha <= 1 → no finite mean. alpha <= 2 → no finite variance. Document the choice if downstream tests assume moments.
  • xm <= 0 or alpha <= 0 → SERVICE_VALIDATION before 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.16 reproduces an 80/20 Pareto split.
  • No clamp param — use constraints to bound the tail when needed (e.g. wealth < 1e9).

See