Binomial distribution, n = 40, p = 0.2
For X ~ Binomial(n = 40, p = 0.2) the mean is 8.000, the variance 6.400 and the standard deviation 2.530. The most likely number of successes is 8, with probability 0.1560.
How to work it out
- 1
A binomial counts the successes in n = 40 independent trials, each with probability p = 0.2 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) = 32.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{40}{k}\,0.2^{k}\,0.8^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.2) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=8) = \binom{40}{8}\,0.2^{8}\,0.8^{32} = 0.1560 \]
\[ \mu = np = 8.000,\qquad \sigma = \sqrt{np(1-p)} = 2.530 \]Binomial(40, 0.2) probabilities
| k | P(X = k) | P(X ⤠k) | P(X ℠k) |
|---|---|---|---|
| 1 | 0.0013 | 0.0015 | 0.9999 |
| 2 | 0.0065 | 0.0079 | 0.9985 |
| 3 | 0.0205 | 0.0285 | 0.9921 |
| 4 | 0.0475 | 0.0759 | 0.9715 |
| 5 | 0.0854 | 0.1613 | 0.9241 |
| 6 | 0.1246 | 0.2859 | 0.8387 |
| 7 | 0.1513 | 0.4371 | 0.7141 |
| 8 | 0.1560 | 0.5931 | 0.5629 |
| 9 | 0.1386 | 0.7318 | 0.4069 |
| 10 | 0.1075 | 0.8392 | 0.2682 |
| 11 | 0.0733 | 0.9125 | 0.1608 |
| 12 | 0.0443 | 0.9568 | 0.0875 |
| 13 | 0.0238 | 0.9806 | 0.0432 |
| 14 | 0.0115 | 0.9921 | 0.0194 |
| 15 | 0.0050 | 0.9971 | 0.0079 |
| 16 | 0.0019 | 0.9990 | 0.0029 |
| 17 | 0.0007 | 0.9997 | 0.0010 |
Summary
| Quantity | Value |
|---|---|
| Mean np | 8.000 |
| Variance np(1āp) | 6.400 |
| Standard deviation | 2.530 |
| Most likely value | 8 |
| P(at least one success) | 0.9999 |
| P(no success) | 0.0001 |
| Normal approximation usable | yes |
Questions
What is the mean of a binomial with n = 40 and p = 0.2?
μ = np = 8.000.
What is the standard deviation of Binomial(40, 0.2)?
Ļ = ā(np(1āp)) = 2.530.
What is the probability of exactly 8 successes in 40 trials with p = 0.2?
0.1560.
What is the probability of at least one success?
1 ā (1 ā 0.2)^40 = 0.9999.
Can I use the normal approximation for n = 40, p = 0.2?
Yes: np = 8.000 and n(1āp) = 32.000 are both at least 5.