Hexa Scholar

The Poisson process: arrivals with no memory

Gold marbles ride a dark conveyor belt in uneven clumps under three wooden cups that hold one, two and three marbles.
Marbles arrive in uneven clumps, and each cup catches a different count.

The question

Three logs each record about one arrival a minute for two hours. Only one came from a Poisson process. Can you tell which?

Pick one in each of two rounds; the page then shows how every log was made.

  1. 1 SeeSpot the Poisson record in two rounds.
  2. 2 TryPredict what splitting and waiting do.
  3. 3 ProveBuild the proof, line by line.
  4. 4 ApplyProblems to check yourself.
Before you start · 3 quick checks on exponential waits, Poisson counts and independent events, about 3 min

Two ideas before you start

2 ideas

Arrivals with exponential gaps

Figure: one record of arrivals over 15 minutes, drawn as marks on a time line, for a rate of 0.5, 1 or 2 arrivals per minute. It needs JavaScript.

Rate:

Rate: λ = 1 per minute mean gap 1/λ = 1 min

Each gap between arrivals is a fresh exponential wait with rate λ, independent of the others, so the mean gap is 1/λ. On this card every rate uses the same random draws, so a higher rate squeezes the same pattern.

Exact definition

Poisson process. Fix a rate \(\lambda \gt 0\). Let the gaps \(T_1, T_2, T_3, \dots\) be independent random variables, each exponential with rate \(\lambda\), so that \(P(T_i \gt t) = e^{-\lambda t}\) for \(t \ge 0\). The arrival times are

\[S_n = T_1 + T_2 + \cdots + T_n\]

for \(n \ge 1\), and \(N(t)\), for \(t \ge 0\), is the number of arrival times \(S_n\) with \(S_n \le t\). The arrival times together, or the counting process \(N\), form a Poisson process with rate \(\lambda\). The mean gap is \(1/\lambda\) (the lesson on the exponential distribution works it out).

Counts in a window

Figure: the probabilities of the count N(t) as bars, for a rate of 0.5 per minute and a window of 2, 6 or 12 minutes. It needs JavaScript.

Window:

Window: t = 6 min mean λt = 3

The number N(t) of arrivals by time t is a Poisson count with mean λt: a longer window holds more arrivals on average, with a wider spread. Drawn here with λ = 0.5 per minute.

Exact definition

Poisson counts. For every \(t \gt 0\) and every whole number \(k \ge 0\),

\[P(N(t) = k) = \frac{e^{-\lambda t}(\lambda t)^k}{k!}.\]

So \(N(t)\) is a Poisson count with mean \(\lambda t\), the distribution of the lesson on the law of rare events. Stage 3 proves this from the exponential gaps of the first card.

Fine print: units, models and neighbors

A rate is a number per unit of time, and \(\lambda t\) has no unit: 4 per hour over 15 minutes is \(4 \cdot \tfrac{1}{4} = 1\). Put the rate and the window in the same unit first.

Real arrivals, such as calls, orders or insurance claims, follow a Poisson process only approximately: the model needs a rate that does not change over time, and arrivals that do not trigger or block each other. Each example on this page states its model, and its numbers describe that model.

The lesson on the exponential distribution showed that the first gap of a Poisson process is exponential; this lesson goes the other way, from exponential gaps to Poisson counts. The count \(N(t)\) is also the simplest continuous-time Markov chain: it only steps up by one, at the same rate \(\lambda\) from every state (the lesson on Markov chains treats the discrete-time version). The random draws on this page come from a seeded generator, so they are the same on every visit; the seeds follow a fixed numbering and were not picked to make a draw look a certain way.

1 See

Which record came from a Poisson process?

How the game works

Each round shows three records of 120 minutes. All three average about one arrival a minute, but only one was made by a Poisson process with rate 1 per minute; the other two were made by other rules, which the page names after your pick. There are two rounds, and the second is harder.

A pick is graded by how the record was made, not by how its draws happened to turn out. The records come from a seeded generator with seeds 6111 to 6113 in round 1 and 6121 to 6123 in round 2, numbered in advance. After the check, the page reports two numbers for every record: the coefficient of variation (CV) of its gaps, the standard deviation divided by the mean, and the variance of its one-minute counts divided by their mean. Start over goes back to round 1.

Your pick:
2 Try

Splitting a stream, and the gap you land in

A prediction first. The explorer below it opens once it is answered.

The gap you land in

3 Prove

Exponential gaps give Poisson counts

Theorem

Assumptions. Fix a rate \(\lambda \gt 0\). The gaps \(T_1, T_2, \dots\) are independent, and each is exponential with rate \(\lambda\). The arrival times are \(S_n = T_1 + \cdots + T_n\), and \(N(t)\) is the number of arrival times \(S_n\) with \(S_n \le t\). Fix a time \(t \gt 0\). Lines 1 to 3 below are about a whole number \(n \ge 1\), and line 2 about a time \(s \gt 0\). For \(n \ge 1\) and \(s \gt 0\) write

\[f_n(s) = \frac{\lambda^n s^{n-1} e^{-\lambda s}}{(n-1)!}.\]

Conclusion. For every whole number \(n \ge 0\),

\[P(N(t) = n) = \frac{e^{-\lambda t}(\lambda t)^n}{n!}.\]

Facts the proof uses.

  • \(S_n\) has density \(f_n\) on \((0, \infty)\), the gamma density with shape \(n\) and rate \(\lambda\), also called the Erlang density; the box below derives it. So \(P(S_n \le t) = \int_0^t f_n(s)\,ds\);
  • the product rule for derivatives, and the fundamental theorem of calculus;
  • \(T_1\) is exponential with rate \(\lambda\), so \(P(T_1 \gt t) = e^{-\lambda t}\).
Where the density of \(S_n\) comes from

For \(n = 1\), \(S_1 = T_1\) has density \(\lambda e^{-\lambda s} = f_1(s)\). Suppose \(S_n\) has density \(f_n\). Then \(S_{n+1} = S_n + T_{n+1}\), and \(T_{n+1}\) is independent of \(S_n\), so the density of the sum is the convolution (the lesson on convolution): for \(s \gt 0\),

\[\begin{aligned} &\int_0^s f_n(u)\,\lambda e^{-\lambda(s - u)}\,du \\ &= \lambda^{n+1}e^{-\lambda s}\int_0^s \frac{u^{n-1}}{(n-1)!}\,du \\ &= \frac{\lambda^{n+1}s^n e^{-\lambda s}}{n!} = f_{n+1}(s). \end{aligned}\]

The factor \(e^{-\lambda u}e^{-\lambda(s - u)} = e^{-\lambda s}\) does not depend on \(u\), which is why the integral is so simple.

Each option is one step about the setting of the theorem. Pick the one that is true for every \(\lambda \gt 0\) and \(t \gt 0\), every \(n \ge 1\) and every \(s \gt 0\) it names.

What else follows
    4 Apply

    Problems

    Each problem states its model, and has hints and a full solution.

    Key point Put the rate and the window in one unit; then \(N(t)\) is Poisson with mean \(\lambda t\). Use \(P(S_n \le t) = P(N(t) \ge n)\) for arrival times, the independence of windows that do not overlap for what comes next, and rates that add or scale for merged and split streams. The answers hold in the model; real arrivals match it only as far as the rate stays constant and the arrivals do not trigger each other.
    Level Undergraduate Prerequisites exponential waiting times (the lesson on the exponential distribution), Poisson counts (the lesson on the law of rare events), independent events (refreshed in Before you start) Time ~40 min

    Further reading