Geometric¶
Number of attempts until the first success, such as tries before a part passes inspection.
Param: p in (0, 1].
Category: special. Arrival: no. Delay: no. Support lower bound: 0.0. Can be fit from data as Geometric (see Input analysis).
Parameters¶
| Parameter | Default | Hint |
|---|---|---|
p |
0.5 |
success probability, in (0, 1] |
Draws¶
With p=0.25, 10,000 draws from a stream seeded 0:
| Mean (formula) | Mean of the draws | Variance of the draws |
|---|---|---|
| 4 | 3.98 | 12 |
Example¶
In a model file, on any block or section that takes a duration:
{"distribution": "Geometric", "dist_params": {"p": 0.25}}
In the Python builder:
nb.Geometric(p=0.25)
Used in¶
Guides: How do I model retesting until a part passes?, How do I fit input distributions from data?.