Skip to content

JohnsonSU

A flexible fit for skewed, heavy-tailed data when no simple distribution matches; it can return negative values.
Params: a, b (shape), loc (center), scale > 0.

Category: special. Arrival: no. Delay: no. Support lower bound: unbounded.

Parameters

Parameter Default Hint
a 0.0 shape
b 1.0 shape
loc 0.0 center
scale 1.0 scale, > 0

Draws

With a=0, b=1.5, loc=5, scale=2, 10,000 draws from a stream seeded 0:

Mean (formula) Mean of the draws Variance of the draws
5 5 2.91

JohnsonSU: 10,000 draws

Example

In a model file, on any block or section that takes a duration:

{"distribution": "JohnsonSU", "dist_params": {"a": 0, "b": 1.5, "loc": 5, "scale": 2}}

In the Python builder:

nb.JohnsonSU(a=0, b=1.5, loc=5, scale=2)

Used in

Guides: How do I keep a skewed time between a minimum and a maximum?.

See also