For X~Binomial(n,p), 0<p<1, locate the most likely count without enumerating all probabilities.
Quant ResearchLevel: IntermediateMost likely success count
For X~Binomial(n,p), 0<p<1, locate the most likely count without enumerating all probabilities.
Hints
- Compare adjacent probability masses.
- Check the case where the ratio equals one.
Answer
The ratio P(X=k)/P(X=k-1)=(n-k+1)p/[k(1-p)] exceeds one iff k<(n+1)p. Thus floor((n+1)p) is a mode; if (n+1)p is an integer m, both m-1 and m are modes.
Source and licence: Lehman, Leighton & Meyer — Mathematics for Computer Science (2018-06-06) · CC-BY-SA-3.0 · answer: Quantoros editorial