Binomial distribution, n = 40, p = 0.4
For X ~ Binomial(n = 40, p = 0.4) the mean is 16.000, the variance 9.600 and the standard deviation 3.098. The most likely number of successes is 16, with probability 0.1279.
How to work it out
- 1
A binomial counts the successes in n = 40 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 = 16 (the nearest whole number to the mean):
- 4
The mean and the standard deviation come straight from n and p.
- 5
Both np = 16.000 and n(1āp) = 24.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.4^{k}\,0.6^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.4) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=16) = \binom{40}{16}\,0.4^{16}\,0.6^{24} = 0.1279 \]
\[ \mu = np = 16.000,\qquad \sigma = \sqrt{np(1-p)} = 3.098 \]Binomial(40, 0.4) probabilities
| k | P(X = k) | P(X ⤠k) | P(X ℠k) |
|---|---|---|---|
| 6 | 0.0005 | 0.0006 | 0.9999 |
| 7 | 0.0015 | 0.0021 | 0.9994 |
| 8 | 0.0040 | 0.0061 | 0.9979 |
| 9 | 0.0095 | 0.0156 | 0.9939 |
| 10 | 0.0196 | 0.0352 | 0.9844 |
| 11 | 0.0357 | 0.0709 | 0.9648 |
| 12 | 0.0576 | 0.1285 | 0.9291 |
| 13 | 0.0827 | 0.2112 | 0.8715 |
| 14 | 0.1063 | 0.3174 | 0.7888 |
| 15 | 0.1228 | 0.4402 | 0.6826 |
| 16 | 0.1279 | 0.5681 | 0.5598 |
| 17 | 0.1204 | 0.6885 | 0.4319 |
| 18 | 0.1026 | 0.7911 | 0.3115 |
| 19 | 0.0792 | 0.8702 | 0.2089 |
| 20 | 0.0554 | 0.9256 | 0.1298 |
| 21 | 0.0352 | 0.9608 | 0.0744 |
| 22 | 0.0203 | 0.9811 | 0.0392 |
| 23 | 0.0106 | 0.9917 | 0.0189 |
| 24 | 0.0050 | 0.9966 | 0.0083 |
| 25 | 0.0021 | 0.9988 | 0.0034 |
| 26 | 0.0008 | 0.9996 | 0.0012 |
Summary
| Quantity | Value |
|---|---|
| Mean np | 16.000 |
| Variance np(1āp) | 9.600 |
| Standard deviation | 3.098 |
| Most likely value | 16 |
| 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.4?
μ = np = 16.000.
What is the standard deviation of Binomial(40, 0.4)?
Ļ = ā(np(1āp)) = 3.098.
What is the probability of exactly 16 successes in 40 trials with p = 0.4?
0.1279.
What is the probability of at least one success?
1 ā (1 ā 0.4)^40 = 1.0000.
Can I use the normal approximation for n = 40, p = 0.4?
Yes: np = 16.000 and n(1āp) = 24.000 are both at least 5.