Exponential Distribution With Python

March 20, 2018

1 min read

Exponential Distribution With Python

The exponential distribution is the probability distribution that describes a process in which events occur continuously and independently at a constant average rate. This distribution is a continuous analog of the geometric distribution. With exponential distribution, we can find the probability of event occur before/after some moment of time. Lambda is the average number of events in one unit of time(hours, minutes, seconds, …).

probability

Let’s take an example from the previous article, but now will find the different probability. Some pizzeria receives an average of 20 orders per hour. Find the probability that in just two minutes the pizzeria will receive an order.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
view raw pt_14_1.ipynb hosted with ❤ by GitHub

As you can see from the chart probability that event will occur increasing with the time.

Let’s take a look at the characteristics of the Exponential distribution. The mean and the variance:

characteristics