Explore

The exponential distribution

The waiting time until the next event, when events happen at an average rate λ. The mean wait is 1/λ, and the distribution forgets how long you have already waited. Move λ, then ask a question: the area it counts is shaded.

Parameters

λ = 0.2

λ (rate: events per unit of time)

Ask a question

x = 10

x (threshold)

Compare with

P(X > 10) = 0.1353

P(X > 10) = 1 − F(10) = 1 − 0.8647 = 0.1353

X is a measurement, so a single value has probability 0 and the boundary makes no difference: P(X < x) = P(X ≤ x) = F(x).

Summary

Measure Exp(λ = 0.2)
mean 5.0000
variance 25.0000
standard deviation 5.0000
skewness 2.0000

The same in code

Python (scipy.stats)
expon.sf(10, scale=1/0.2)
Excel
=1-EXPON.DIST(10, 0.2, TRUE)
scipy's expon takes the mean wait 1/λ as its scale; Excel's EXPON.DIST takes the rate λ.

Formulas

Try this

0 of 4 done
  1. Mean and median

    Open the preset for the median wait.

    Look for: The median wait is 3.4657 minutes, well below the mean of 5: the long right tail pulls the mean up.

  2. It forgets

    With λ = 0.2, note P(X > 10), then ask for P(X > 20).

    Look for: P(X > 10) = 0.1353 and P(X > 20) = 0.0183 = 0.1353 × 0.1353. Having waited 10 minutes, the chance of waiting 10 more is the same as at the start.

  3. One shape

    Move λ anywhere and watch the skewness.

    Look for: It stays at 2. The rate only stretches the time axis; it never changes the shape.

  4. Not a bell

    Turn on the normal with the same mean and σ.

    Look for: The normal puts about 16 % of its probability below 0, a negative waiting time, which is impossible. Waiting times need a skewed model.

An unhandled error has occurred. Reload 🗙

Reconnecting…

Your connection to Introduction to Probability Lab dropped, probably a Wi-Fi blip. Hold on while it reconnects.

The connection could not be restored. The page will reload in a few seconds.