Binomial distribution, n = 20, p = 0.4
For X ~ Binomial(n = 20, p = 0.4) the mean is 8.000, the variance 4.800 and the standard deviation 2.191. The most likely number of successes is 8, with probability 0.1797.
How to work it out
- 1
A binomial counts the successes in n = 20 independent trials, each with probability p = 0.4 of success.
- 2
The probability of exactly k successes is the number of ways to choose them times the probability of one such sequence.
- 3
For example, the most common value k = 8 (the nearest whole number to the mean):
- 4
The mean and the standard deviation come straight from n and p.
- 5
Both np = 8.000 and n(1āp) = 12.000 are at least 5, so a normal curve with this mean and standard deviation approximates the distribution well.
LaTeX source of the formulas on this page
\[ P(X=k) = \binom{20}{k}\,0.4^{k}\,0.6^{20-k} \]
\[ X \sim \mathrm{Bin}(20,\ 0.4) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=8) = \binom{20}{8}\,0.4^{8}\,0.6^{12} = 0.1797 \]
\[ \mu = np = 8.000,\qquad \sigma = \sqrt{np(1-p)} = 2.191 \]Binomial(20, 0.4) probabilities
| k | P(X = k) | P(X ⤠k) | P(X ℠k) |
|---|---|---|---|
| 1 | 0.0005 | 0.0005 | 1.0000 |
| 2 | 0.0031 | 0.0036 | 0.9995 |
| 3 | 0.0123 | 0.0160 | 0.9964 |
| 4 | 0.0350 | 0.0510 | 0.9840 |
| 5 | 0.0746 | 0.1256 | 0.9490 |
| 6 | 0.1244 | 0.2500 | 0.8744 |
| 7 | 0.1659 | 0.4159 | 0.7500 |
| 8 | 0.1797 | 0.5956 | 0.5841 |
| 9 | 0.1597 | 0.7553 | 0.4044 |
| 10 | 0.1171 | 0.8725 | 0.2447 |
| 11 | 0.0710 | 0.9435 | 0.1275 |
| 12 | 0.0355 | 0.9790 | 0.0565 |
| 13 | 0.0146 | 0.9935 | 0.0210 |
| 14 | 0.0049 | 0.9984 | 0.0065 |
| 15 | 0.0013 | 0.9997 | 0.0016 |
Summary
| Quantity | Value |
|---|---|
| Mean np | 8.000 |
| Variance np(1āp) | 4.800 |
| Standard deviation | 2.191 |
| Most likely value | 8 |
| P(at least one success) | 1.0000 |
| P(no success) | 0.0000 |
| Normal approximation usable | yes |
Questions
What is the mean of a binomial with n = 20 and p = 0.4?
μ = np = 8.000.
What is the standard deviation of Binomial(20, 0.4)?
Ļ = ā(np(1āp)) = 2.191.
What is the probability of exactly 8 successes in 20 trials with p = 0.4?
0.1797.
What is the probability of at least one success?
1 ā (1 ā 0.4)^20 = 1.0000.
Can I use the normal approximation for n = 20, p = 0.4?
Yes: np = 8.000 and n(1āp) = 12.000 are both at least 5.