Binomial distribution, n = 40, p = 0.7
For X ~ Binomial(n = 40, p = 0.7) the mean is 28.000, the variance 8.400 and the standard deviation 2.898. The most likely number of successes is 28, 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.7 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 = 28 (the nearest whole number to the mean):
- 4
The mean and the standard deviation come straight from n and p.
- 5
Both np = 28.000 and n(1āp) = 12.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.7^{k}\,0.3^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.7) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=28) = \binom{40}{28}\,0.7^{28}\,0.3^{12} = 0.1366 \]
\[ \mu = np = 28.000,\qquad \sigma = \sqrt{np(1-p)} = 2.898 \]Binomial(40, 0.7) probabilities
| k | P(X = k) | P(X ⤠k) | P(X ℠k) |
|---|---|---|---|
| 18 | 0.0006 | 0.0009 | 0.9997 |
| 19 | 0.0016 | 0.0024 | 0.9991 |
| 20 | 0.0038 | 0.0063 | 0.9976 |
| 21 | 0.0085 | 0.0148 | 0.9937 |
| 22 | 0.0172 | 0.0320 | 0.9852 |
| 23 | 0.0314 | 0.0633 | 0.9680 |
| 24 | 0.0518 | 0.1151 | 0.9367 |
| 25 | 0.0774 | 0.1926 | 0.8849 |
| 26 | 0.1042 | 0.2968 | 0.8074 |
| 27 | 0.1261 | 0.4228 | 0.7032 |
| 28 | 0.1366 | 0.5594 | 0.5772 |
| 29 | 0.1319 | 0.6913 | 0.4406 |
| 30 | 0.1128 | 0.8041 | 0.3087 |
| 31 | 0.0849 | 0.8890 | 0.1959 |
| 32 | 0.0557 | 0.9447 | 0.1110 |
| 33 | 0.0315 | 0.9762 | 0.0553 |
| 34 | 0.0151 | 0.9914 | 0.0238 |
| 35 | 0.0061 | 0.9974 | 0.0086 |
| 36 | 0.0020 | 0.9994 | 0.0026 |
| 37 | 0.0005 | 0.9999 | 0.0006 |
Summary
| Quantity | Value |
|---|---|
| Mean np | 28.000 |
| Variance np(1āp) | 8.400 |
| Standard deviation | 2.898 |
| Most likely value | 28 |
| 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.7?
μ = np = 28.000.
What is the standard deviation of Binomial(40, 0.7)?
Ļ = ā(np(1āp)) = 2.898.
What is the probability of exactly 28 successes in 40 trials with p = 0.7?
0.1366.
What is the probability of at least one success?
1 ā (1 ā 0.7)^40 = 1.0000.
Can I use the normal approximation for n = 40, p = 0.7?
Yes: np = 28.000 and n(1āp) = 12.000 are both at least 5.