Let $n$ be any natural number, let $k\in\{0, \dots, n\}$, and let $p \in [0, 1]$.
If $\sum_{i=k}^n {n \choose i} p^{i}(1-p)^{n-i} \approx 0.05$, how can we find $k$ (in terms of $n$ and $p$)?
Let $n$ be any natural number, let $k\in\{0, \dots, n\}$, and let $p \in [0, 1]$.
If $\sum_{i=k}^n {n \choose i} p^{i}(1-p)^{n-i} \approx 0.05$, how can we find $k$ (in terms of $n$ and $p$)?
In some cases you can use a normal approximation with continuity correction and say $$\Phi\left(\frac{k-0.5 - np}{\sqrt{np(1-p)}}\right) \approx 1-0.05$$
Since $\Phi(1.644854) \approx 0.95$ you could then say in these cases $$k \approx np+0.5+ 1.644854\sqrt{np(1-p)}$$
As an example, suppose $n=40$ and $p=\frac14$. Then this suggests $k \approx 15$
As a check $\sum\limits_{i=15}^{40} {40 \choose i} \left(\frac14\right)^i\left(\frac34\right)^{40-i} \approx 0.054$ so this is not a bad approximation; $k=14$ would give about $0.103$ while $k=16$ would give about $0.026$