LeoMath

Explore

From binomial to Poisson

Run n independent trials, each succeeding with probability λ/n. The bars are the distribution of the number of successes, the dots the Poisson law; keep the average λ fixed, raise n, and watch the two merge and how fast the distance shrinks.

  • binomial B(n, p)(nk)pk(1−p)n−k
  • Poisson(λ)e−λλkk!
samples 0sample mean —theoretical mean λ 3.0
Try
success probability p = λ/n 0.3most likely value 3 (n+1)p = 3.3
d=12∑k|P(X=k)−P(Y=k)|distance d between them 0.086bound λ²/n 0.90
Back to the article →

Peak analysis idea from: github.com/huzhuofan1020-svg/EXFB

Counting simulation idea from: github.com/huzhuofan1020-svg/PoissonDist

What did you observe?Play first, then answer. Read the explanation only after you have thought it through.

  1. 1.Keep λ = 3 and set n to 10, then 100, then 1000. How do the bars and dots come together? By what factor does the distance d shrink each time?
  2. 2.Fix n = 20 and compare λ = 1 with λ = 10. The n is the same; why is one approximation good and the other poor?
  3. 3.Press “tied peak” (n = 9, λ = 4.5). How many bars are tallest? In general, where is the most likely value?
Related concept: Random variables

Discussion

Found a mistake, have a question or a suggestion? You can also write to 620026600@qq.com

No comments yet. Share your understanding, ask a question, or point out an error on this page.

Log in to join the discussion