# Types of Distributions - Poisson and Exponential

## We'll cover the following

## 5. Poisson Distribution

This distribution gives us the probability of a given **number of events** happening **in a fixed interval of time**.

Say we have the number of breads sold by a bakery every day. If the average number for seven days is 500, we can predict the probability of a certain day having more sales, e.g., more on Sundays. Another example could be the number of phone calls received by a call center per hour. Poisson distributions can be used to make forecasts about the number of customers or sales on certain days or seasons of the year.

**Why are such forecasts important?**

Think about it: if more items than necessary are kept in stock, it means a loss for the business. On the other hand, under-stocking would also result in loss because customers need to be turned away due to not having enough stock. Poisson can help businesses estimate when demand is unusually high so that they can plan for the increase in demand in advance while keeping wast of resources to a minimum. However, its applications are not only for sales or specifically business related, some different kinds of examples could be forecasting the number of earthquakes happening, next month or traffic flow and ideal gap distance.

For a distribution to be called a Poisson distribution, the following assumptions need to be in place:

- The number of successes in two disjoint time intervals is independent.
- The probability of a success during a small-time interval is proportional to the entire length of the time interval. The probability of success in an interval approaches zero as the interval becomes smaller.

The probability distribution representing the number of successes occurring in a given time interval is given by this formula:

$P(X) = \frac{e^{-\mu}\mu^x}{x!}$

where,

*x* = 0, 1, 2, 3 …,

*e* = the natural number *e*,

*μ* = mean number of successes in the given time interval,

*X*, Poisson Random Variable, is the number of events in a time interval and *P(X)* is its probability distribution (probability mass function).

The mean, the expected number of occurrences, *μ*, can be calculated as:

$\mu = {\lambda t}$

where,

λ is the rate at which an event occurs,

t is the length of a time interval

Let’s look at a graphical representation of a Poisson distribution, and how it varies with the change in expected number of occurrences:

Get hands-on with 1200+ tech skills courses.