Binomial distribution, n = 40, p = 0.5
For X ~ Binomial(n = 40, p = 0.5) the mean is 20.000, the variance 10.000 and the standard deviation 3.162. The most likely number of successes is 20, with probability 0.1254.
How to work it out
- 1
A binomial counts the successes in n = 40 independent trials, each with probability p = 0.5 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 = 20 (the nearest whole number to the mean):
- 4
The mean and the standard deviation come straight from n and p.
- 5
Both np = 20.000 and n(1āp) = 20.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.5^{k}\,0.5^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.5) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=20) = \binom{40}{20}\,0.5^{20}\,0.5^{20} = 0.1254 \]
\[ \mu = np = 20.000,\qquad \sigma = \sqrt{np(1-p)} = 3.162 \]Binomial(40, 0.5) probabilities
| k | P(X = k) | P(X ⤠k) | P(X ℠k) |
|---|---|---|---|
| 10 | 0.0008 | 0.0011 | 0.9997 |
| 11 | 0.0021 | 0.0032 | 0.9989 |
| 12 | 0.0051 | 0.0083 | 0.9968 |
| 13 | 0.0109 | 0.0192 | 0.9917 |
| 14 | 0.0211 | 0.0403 | 0.9808 |
| 15 | 0.0366 | 0.0769 | 0.9597 |
| 16 | 0.0572 | 0.1341 | 0.9231 |
| 17 | 0.0807 | 0.2148 | 0.8659 |
| 18 | 0.1031 | 0.3179 | 0.7852 |
| 19 | 0.1194 | 0.4373 | 0.6821 |
| 20 | 0.1254 | 0.5627 | 0.5627 |
| 21 | 0.1194 | 0.6821 | 0.4373 |
| 22 | 0.1031 | 0.7852 | 0.3179 |
| 23 | 0.0807 | 0.8659 | 0.2148 |
| 24 | 0.0572 | 0.9231 | 0.1341 |
| 25 | 0.0366 | 0.9597 | 0.0769 |
| 26 | 0.0211 | 0.9808 | 0.0403 |
| 27 | 0.0109 | 0.9917 | 0.0192 |
| 28 | 0.0051 | 0.9968 | 0.0083 |
| 29 | 0.0021 | 0.9989 | 0.0032 |
| 30 | 0.0008 | 0.9997 | 0.0011 |
Summary
| Quantity | Value |
|---|---|
| Mean np | 20.000 |
| Variance np(1āp) | 10.000 |
| Standard deviation | 3.162 |
| Most likely value | 20 |
| 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.5?
μ = np = 20.000.
What is the standard deviation of Binomial(40, 0.5)?
Ļ = ā(np(1āp)) = 3.162.
What is the probability of exactly 20 successes in 40 trials with p = 0.5?
0.1254.
What is the probability of at least one success?
1 ā (1 ā 0.5)^40 = 1.0000.
Can I use the normal approximation for n = 40, p = 0.5?
Yes: np = 20.000 and n(1āp) = 20.000 are both at least 5.