Counts x1,…,xn are independent Poisson(λ) samples. Derive the MLE of λ. For the counts 2,0,3,1,4, what is λ^ and the probability that the next count is zero?

Probability and statistics, Maximum likelihood
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.

What's being asked

The standard recipe: log-likelihood, derivative, set to zero, check it is a maximum.

Key idea

ℓ(λ)=∑i(xilog⁡λ−λ−log⁡xi!), and setting ℓ′(λ)=0 gives λ^=xˉ.

Steps

  1. Write the likelihood L(λ)=∏ie−λλxi/xi!.
  2. Take logs: ℓ(λ)=(∑ixi)log⁡λ−nλ−∑ilog⁡xi!. The last term does not depend on λ.
  3. Differentiate: ℓ′(λ)=∑ixiλ−n=0, so λ^=1n∑ixi=xˉ.
  4. Check the maximum: ℓ′′(λ)=−∑ixi/λ2<0.
  5. Plug in the data: ∑xi=10, n=5, so λ^=2.
  6. Predict: P(X=0)=e−λ^=e−2≈0.135.

Common mistakes

How long your answer should be

Half a page; 4 minutes.

Last checked on 4 December 2026.

Read this

Previous in Probability and statistics: Two classifiers A and B are evaluated on the same 1,000 test examples. A is right and B wrong on 30 examples; B is right and A wrong on 15. Is A significantly better at the 5% level, and what does the p-value mean here?
Next in Probability and statistics: The number of attempts K until the first success has P(K=k)=(1−p)k−1p, for k=1,2,…. You observe 4 independent runs needing 3, 1, 4 and 2 attempts. How do you derive the MLE of p, and what is its value?