Binomial distribution, n = 30, p = 0.4
For X ~ Binomial(n = 30, p = 0.4) the mean is 12.000, the variance 7.200 and the standard deviation 2.683. The most likely number of successes is 12, with probability 0.1474.
How to work it out
- 1
A binomial counts the successes in n = 30 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 = 12 (the nearest whole number to the mean):
- 4
The mean and the standard deviation come straight from n and p.
- 5
Both np = 12.000 and n(1āp) = 18.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{30}{k}\,0.4^{k}\,0.6^{30-k} \]
\[ X \sim \mathrm{Bin}(30,\ 0.4) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=12) = \binom{30}{12}\,0.4^{12}\,0.6^{18} = 0.1474 \]
\[ \mu = np = 12.000,\qquad \sigma = \sqrt{np(1-p)} = 2.683 \]Binomial(30, 0.4) probabilities
| k | P(X = k) | P(X ⤠k) | P(X ℠k) |
|---|---|---|---|
| 4 | 0.0012 | 0.0015 | 0.9997 |
| 5 | 0.0041 | 0.0057 | 0.9985 |
| 6 | 0.0115 | 0.0172 | 0.9943 |
| 7 | 0.0263 | 0.0435 | 0.9828 |
| 8 | 0.0505 | 0.0940 | 0.9565 |
| 9 | 0.0823 | 0.1763 | 0.9060 |
| 10 | 0.1152 | 0.2915 | 0.8237 |
| 11 | 0.1396 | 0.4311 | 0.7085 |
| 12 | 0.1474 | 0.5785 | 0.5689 |
| 13 | 0.1360 | 0.7145 | 0.4215 |
| 14 | 0.1101 | 0.8246 | 0.2855 |
| 15 | 0.0783 | 0.9029 | 0.1754 |
| 16 | 0.0489 | 0.9519 | 0.0971 |
| 17 | 0.0269 | 0.9788 | 0.0481 |
| 18 | 0.0129 | 0.9917 | 0.0212 |
| 19 | 0.0054 | 0.9971 | 0.0083 |
| 20 | 0.0020 | 0.9991 | 0.0029 |
| 21 | 0.0006 | 0.9998 | 0.0009 |
Summary
| Quantity | Value |
|---|---|
| Mean np | 12.000 |
| Variance np(1āp) | 7.200 |
| Standard deviation | 2.683 |
| Most likely value | 12 |
| 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 = 30 and p = 0.4?
μ = np = 12.000.
What is the standard deviation of Binomial(30, 0.4)?
Ļ = ā(np(1āp)) = 2.683.
What is the probability of exactly 12 successes in 30 trials with p = 0.4?
0.1474.
What is the probability of at least one success?
1 ā (1 ā 0.4)^30 = 1.0000.
Can I use the normal approximation for n = 30, p = 0.4?
Yes: np = 12.000 and n(1āp) = 18.000 are both at least 5.