taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.10-15

Exercise 1.2.10-15

not stated yet in Lean solution written

RatingHM23
MarkersHM (needs higher mathematics)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.10 of Volume 1. Companion chapter: Analysis of an algorithm

The task

For the Poisson distribution e−μμk/k!e^{-\mu}\mu^k/k! find the generating function and the semi-invariants, and show that the distribution with mean npnp approaches a normal distribution as n→∞n\to\infty.

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

Sum the series ∑k(μz)k/k!\sum_k(\mu z)^k/k!.

Hint 2

For (b) take ln⁡G(et)\ln G(e^t).

Hint 3

For (c) follow Exercise 1.2.10-14, with μ=np\mu=np and σ=np\sigma=\sqrt{np}.

Solution

Show the solution

(a) G(z)=e−μ∑k≥0(μz)kk!=e−μeμz=eμ(z−1)G(z)=e^{-\mu}\sum_{k\ge0}\frac{(\mu z)^k}{k!}=e^{-\mu}e^{\mu z}=e^{\mu(z-1)}.

(b) ln⁡G(et)=μ(et−1)=μ(t+t22!+t33!+⋯ )\ln G(e^t)=\mu(e^t-1)=\mu\bigl(t+\frac{t^2}{2!}+\frac{t^3}{3!}+\cdots\bigr). By (23) every semi-invariant is κn=μ\kappa_n=\mu, for n≥1n\ge1.

(c) The mean is μ=np\mu=np and the variance is npnp, so σ=np\sigma=\sqrt{np}. For fixed p>0p>0 and real tt,

e−itμ/σG(eit/σ)=exp⁡(−itnp+np(eit/np−1)).e^{-it\mu/\sigma}G(e^{it/\sigma})=\exp\Bigl(-it\sqrt{np}+np\bigl(e^{it/\sqrt{np}}-1\bigr)\Bigr).

Now np(eit/np−1)=itnp−t22+O((np)−1/2)np\bigl(e^{it/\sqrt{np}}-1\bigr)=it\sqrt{np}-\frac{t^2}2+O\bigl((np)^{-1/2}\bigr). So the exponent is −t22+O((np)−1/2)-\frac{t^2}2+O\bigl((np)^{-1/2}\bigr) and the limit is e−t2/2e^{-t^2/2}.

Check

For μ=2\mu=2 the probabilities e−22k/k!e^{-2}2^k/k! for k=0,1,2k=0,1,2 are 0.1353,0.2707,0.27070.1353,0.2707,0.2707. The mean computed from G′(1)=μ=2G'(1)=\mu=2 and the variance G′′(1)+G′(1)−G′(1)2=4+2−4=2G''(1)+G'(1)-G'(1)^2=4+2-4=2 agree with κ1=κ2=2\kappa_1=\kappa_2=2.

Remarks

The Poisson law is the limit of the binomial law (q+pz)n(q+pz)^n when np→μnp\to\mu with n→∞n\to\infty. The tail inequalities (24) and (25) give for it the same bound (r−rer−1)μ(r^{-r}e^{r-1})^\mu as in Exercise 1.2.10-22.

This solution is drafted, and a person has not reviewed it yet. The source.

In Lean

not stated yet The exercise is not stated in Lean yet.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.