Exponential, Gamma, and Beta

Exponential: time until the next event

If events arrive as a Poisson process at rate λ\lambda, the gap between consecutive events is exponential:

The exponential distribution
f(x)=λeλx,x0F(x)=1eλxf(x) = \lambda e^{-\lambda x}, \quad x \geq 0 \qquad F(x) = 1 - e^{-\lambda x}

Waiting times, and the only continuous distribution with no memory of how long you have already waited.

E[X]=1λVar(X)=1λ2E[X] = \frac{1}{\lambda} \qquad \text{Var}(X) = \frac{1}{\lambda^2}

Mean and standard deviation are equal, which tells you immediately that waiting times are highly variable. At 3 trades per minute the average gap is 20 seconds, and the standard deviation is also 20 seconds.

The clean CDF makes it the friendliest continuous distribution to work with by hand. The probability of waiting more than xx is simply eλxe^{-\lambda x}, and inverting gives the simulation recipe X=1λln(1U)X = -\frac{1}{\lambda}\ln(1-U).

The rest of this lesson is for subscribers

Unlock every lesson in Fundamentals of Probability and Statistics, and every other premium course.

Subscribe to continue

Test your knowledge

Questions are only available to subscribers.

Keep reading Fundamentals of Probability and Statistics

41 lessons in this course, and every other premium course, on one subscription.

  • Every lesson in every course, with the worked examples and interactive simulators
  • Graded questions on every lesson, with explanations for the wrong answers as well as the right one
  • The trainers, timed assessments and brainteaser library that go with them