WordGPT

Binomial distribution, n = 20, p = 0.5

For X ~ Binomial(n = 20, p = 0.5) the mean is 10.000, the variance 5.000 and the standard deviation 2.236. The most likely number of successes is 10, with probability 0.1762.

00.050.10.150.234567891011121314151617kP(X = k)
P(X = k) for n = 20, p = 0.5; the orange bar is the most likely value, k = 10.

How to work it out

  1. 1

    A binomial counts the successes in n = 20 independent trials, each with probability p = 0.5 of success.

    X∼Bin(20, 0.5)X \sim \mathrm{Bin}(20,\ 0.5)
  2. 2

    The probability of exactly k successes is the number of ways to choose them times the probability of one such sequence.

    P(X=k)=(nk)pk(1āˆ’p)nāˆ’kP(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k}
  3. 3

    For example, the most common value k = 10 (the nearest whole number to the mean):

    P(X=10)=(2010) 0.510 0.510=0.1762P(X=10) = \binom{20}{10}\,0.5^{10}\,0.5^{10} = 0.1762
  4. 4

    The mean and the standard deviation come straight from n and p.

    μ=np=10.000,σ=np(1āˆ’p)=2.236\mu = np = 10.000,\qquad \sigma = \sqrt{np(1-p)} = 2.236
  5. 5

    Both np = 10.000 and n(1āˆ’p) = 10.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{20}{k}\,0.5^{k}\,0.5^{20-k} \]
\[ X \sim \mathrm{Bin}(20,\ 0.5) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=10) = \binom{20}{10}\,0.5^{10}\,0.5^{10} = 0.1762 \]
\[ \mu = np = 10.000,\qquad \sigma = \sqrt{np(1-p)} = 2.236 \]

Binomial(20, 0.5) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
30.00110.00130.9998
40.00460.00590.9987
50.01480.02070.9941
60.03700.05770.9793
70.07390.13160.9423
80.12010.25170.8684
90.16020.41190.7483
100.17620.58810.5881
110.16020.74830.4119
120.12010.86840.2517
130.07390.94230.1316
140.03700.97930.0577
150.01480.99410.0207
160.00460.99870.0059
170.00110.99980.0013

Summary

QuantityValue
Mean np10.000
Variance np(1āˆ’p)5.000
Standard deviation2.236
Most likely value10
P(at least one success)1.0000
P(no success)0.0000
Normal approximation usableyes

Questions

What is the mean of a binomial with n = 20 and p = 0.5?

μ = np = 10.000.

What is the standard deviation of Binomial(20, 0.5)?

σ = √(np(1āˆ’p)) = 2.236.

What is the probability of exactly 10 successes in 20 trials with p = 0.5?

0.1762.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.5)^20 = 1.0000.

Can I use the normal approximation for n = 20, p = 0.5?

Yes: np = 10.000 and n(1āˆ’p) = 10.000 are both at least 5.

Other n for the same p

Other p for the same n

    Binomial distribution n = 20, p = 0.5: probabilities, mean and standard deviation | WordGPT