Make a geometric distribution using Python

Tracyrenee
Geek Culture
Published in
2 min readNov 28, 2022

--

The geometric distribution is the number of trials needed to get the first success in repeated Bernoulli trials. Repeated Bernoilli trials mean that all trials are independent of each other and each result has two possible outcomes, being either success or failure.

The formula for the geometric distribution is defined below:-

--

--

Tracyrenee
Geek Culture

I have close to five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.