A classifier wrongly flags a transaction with probability p=0.003, independently, and it scores n=1000 transactions. How do you approximate the probability of at most 2 false flags, and why does the approximation work?

Probability and statistics, Common distributions
Level L2 Elementary. Length Medium. Nature Mat Mathematical.

What's being asked

Whether you know that Binomial(n,p) with large n and small p behaves like Poisson(np), and can use it for a quick numerical answer.

Key idea

If n is large, p is small and λ=np stays moderate, then Binomial(n,p)≈Poisson(λ), so P(X=k)≈e−λλk/k!.

Steps

  1. Let X be the number of false flags. Then X∼Binomial(1000,0.003), and the exact answer needs ∑k=02(1000k)0.003k 0.9971000−k, which is awkward by hand.
  2. Compute λ=np=1000×0.003=3. This is the expected number of false flags.
  3. Why it works: write (nk)pk(1−p)n−k=n(n−1)⋯(n−k+1)nkλkk!(1−λn)n−k. As n→∞ with λ fixed, the first fraction tends to 1 and (1−λ/n)n−k→e−λ.
  4. Apply the Poisson formula: P(X=0)=e−3=0.0498, P(X=1)=3e−3=0.1494, P(X=2)=92e−3=0.2240.
  5. Add them: P(X≤2)≈0.0498+0.1494+0.2240=0.4232.
  6. Check: the exact binomial value is 0.4229, so the approximation is accurate to about three decimal places. Say that the approximation is good when n≥100 and p≤0.05 or so.

Common mistakes

How long your answer should be

Half a page; 3 minutes.

Last checked on 4 December 2026.

Read this

Previous in Probability and statistics: Model A and model B are compared on the same 5 cross-validation folds. A's accuracy minus B's accuracy, in percentage points, is 2,1,3,0,4. Run a paired t-test of "no difference" at 5% (the two-sided critical value for 4 degrees of freedom is 2.776). Why should you be careful with this test?
Next in Probability and statistics: You pick door 1 out of three, one of which hides a car. The host, who knows where the car is, always opens a different door that has a goat and offers you a switch. He opens door 3. Using Bayes' rule, what is the probability that the car is behind door 2, and why is the host's knowledge important?