Binomial distribution, n = 40, p = 0.3
For X ~ Binomial(n = 40, p = 0.3) the mean is 12.000, the variance 8.400 and the standard deviation 2.898. The most likely number of successes is 12, with probability 0.1366.
How to work it out
- 1
A binomial counts the successes in n = 40 independent trials, each with probability p = 0.3 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) = 28.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.3^{k}\,0.7^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.3) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=12) = \binom{40}{12}\,0.3^{12}\,0.7^{28} = 0.1366 \]
\[ \mu = np = 12.000,\qquad \sigma = \sqrt{np(1-p)} = 2.898 \]Binomial(40, 0.3) probabilities
| k | P(X = k) | P(X ⤠k) | P(X ℠k) |
|---|---|---|---|
| 3 | 0.0005 | 0.0006 | 0.9999 |
| 4 | 0.0020 | 0.0026 | 0.9994 |
| 5 | 0.0061 | 0.0086 | 0.9974 |
| 6 | 0.0151 | 0.0238 | 0.9914 |
| 7 | 0.0315 | 0.0553 | 0.9762 |
| 8 | 0.0557 | 0.1110 | 0.9447 |
| 9 | 0.0849 | 0.1959 | 0.8890 |
| 10 | 0.1128 | 0.3087 | 0.8041 |
| 11 | 0.1319 | 0.4406 | 0.6913 |
| 12 | 0.1366 | 0.5772 | 0.5594 |
| 13 | 0.1261 | 0.7032 | 0.4228 |
| 14 | 0.1042 | 0.8074 | 0.2968 |
| 15 | 0.0774 | 0.8849 | 0.1926 |
| 16 | 0.0518 | 0.9367 | 0.1151 |
| 17 | 0.0314 | 0.9680 | 0.0633 |
| 18 | 0.0172 | 0.9852 | 0.0320 |
| 19 | 0.0085 | 0.9937 | 0.0148 |
| 20 | 0.0038 | 0.9976 | 0.0063 |
| 21 | 0.0016 | 0.9991 | 0.0024 |
| 22 | 0.0006 | 0.9997 | 0.0009 |
Summary
| Quantity | Value |
|---|---|
| Mean np | 12.000 |
| Variance np(1āp) | 8.400 |
| Standard deviation | 2.898 |
| 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 = 40 and p = 0.3?
μ = np = 12.000.
What is the standard deviation of Binomial(40, 0.3)?
Ļ = ā(np(1āp)) = 2.898.
What is the probability of exactly 12 successes in 40 trials with p = 0.3?
0.1366.
What is the probability of at least one success?
1 ā (1 ā 0.3)^40 = 1.0000.
Can I use the normal approximation for n = 40, p = 0.3?
Yes: np = 12.000 and n(1āp) = 28.000 are both at least 5.