Binomial distribution, n = 40, p = 0.8
For X ~ Binomial(n = 40, p = 0.8) the mean is 32.000, the variance 6.400 and the standard deviation 2.530. The most likely number of successes is 32, 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.8 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 = 32 (the nearest whole number to the mean):
- 4
The mean and the standard deviation come straight from n and p.
- 5
Both np = 32.000 and n(1āp) = 8.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.8^{k}\,0.2^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.8) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=32) = \binom{40}{32}\,0.8^{32}\,0.2^{8} = 0.1560 \]
\[ \mu = np = 32.000,\qquad \sigma = \sqrt{np(1-p)} = 2.530 \]Binomial(40, 0.8) probabilities
| k | P(X = k) | P(X ⤠k) | P(X ℠k) |
|---|---|---|---|
| 23 | 0.0007 | 0.0010 | 0.9997 |
| 24 | 0.0019 | 0.0029 | 0.9990 |
| 25 | 0.0050 | 0.0079 | 0.9971 |
| 26 | 0.0115 | 0.0194 | 0.9921 |
| 27 | 0.0238 | 0.0432 | 0.9806 |
| 28 | 0.0443 | 0.0875 | 0.9568 |
| 29 | 0.0733 | 0.1608 | 0.9125 |
| 30 | 0.1075 | 0.2682 | 0.8392 |
| 31 | 0.1386 | 0.4069 | 0.7318 |
| 32 | 0.1560 | 0.5629 | 0.5931 |
| 33 | 0.1513 | 0.7141 | 0.4371 |
| 34 | 0.1246 | 0.8387 | 0.2859 |
| 35 | 0.0854 | 0.9241 | 0.1613 |
| 36 | 0.0475 | 0.9715 | 0.0759 |
| 37 | 0.0205 | 0.9921 | 0.0285 |
| 38 | 0.0065 | 0.9985 | 0.0079 |
| 39 | 0.0013 | 0.9999 | 0.0015 |
Summary
| Quantity | Value |
|---|---|
| Mean np | 32.000 |
| Variance np(1āp) | 6.400 |
| Standard deviation | 2.530 |
| Most likely value | 32 |
| 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 = 40 and p = 0.8?
μ = np = 32.000.
What is the standard deviation of Binomial(40, 0.8)?
Ļ = ā(np(1āp)) = 2.530.
What is the probability of exactly 32 successes in 40 trials with p = 0.8?
0.1560.
What is the probability of at least one success?
1 ā (1 ā 0.8)^40 = 1.0000.
Can I use the normal approximation for n = 40, p = 0.8?
Yes: np = 32.000 and n(1āp) = 8.000 are both at least 5.