NumPy Tutorial · NumPy Random

Exponential Distribution

Learn all about Exponential Distribution in this comprehensive tutorial.

5 min read advanced
  • Exponential distribution is used for describing time till next event e.
  • Poisson distribution deals with number of occurences of an event in a time period whereas exponential distribution deals with the time between these events.

Exponential Distribution

Exponential distribution is used for describing time till next event e.g. failure/success etc.

It has two parameters:

scale - inverse of rate ( see lam in poisson distribution ) defaults to 1.0.

size - The shape of the returned array.

python

Visualization of Exponential Distribution

python

Relation Between Poisson and Exponential Distribution

Poisson distribution deals with number of occurences of an event in a time period whereas exponential distribution deals with the time between these events.

Module quiz

2 questions
1

Which of the following is true about Exponential Distribution?

2

What is the most common pitfall when working with Exponential Distribution?

Answer all questions to submit.