WordGPT

Binomial distribution, n = 20, p = 0.8

For X ~ Binomial(n = 20, p = 0.8) the mean is 16.000, the variance 3.200 and the standard deviation 1.789. The most likely number of successes is 16, with probability 0.2182.

00.0630.130.190.2591011121314151617181920kP(X = k)
P(X = k) for n = 20, p = 0.8; the orange bar is the most likely value, k = 16.

How to work it out

  1. 1

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

    X∼Bin(20, 0.8)X \sim \mathrm{Bin}(20,\ 0.8)
  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 = 16 (the nearest whole number to the mean):

    P(X=16)=(2016) 0.816 0.24=0.2182P(X=16) = \binom{20}{16}\,0.8^{16}\,0.2^{4} = 0.2182
  4. 4

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

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

    np or n(1āˆ’p) is below 5, so the normal approximation would be poor here; use the exact binomial probabilities.

LaTeX source of the formulas on this page
\[ P(X=k) = \binom{20}{k}\,0.8^{k}\,0.2^{20-k} \]
\[ X \sim \mathrm{Bin}(20,\ 0.8) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=16) = \binom{20}{16}\,0.8^{16}\,0.2^{4} = 0.2182 \]
\[ \mu = np = 16.000,\qquad \sigma = \sqrt{np(1-p)} = 1.789 \]

Binomial(20, 0.8) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
90.00050.00060.9999
100.00200.00260.9994
110.00740.01000.9974
120.02220.03210.9900
130.05450.08670.9679
140.10910.19580.9133
150.17460.37040.8042
160.21820.58860.6296
170.20540.79390.4114
180.13690.93080.2061
190.05760.98850.0692
200.01151.00000.0115

Summary

QuantityValue
Mean np16.000
Variance np(1āˆ’p)3.200
Standard deviation1.789
Most likely value16
P(at least one success)1.0000
P(no success)0.0000
Normal approximation usableno

Questions

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

μ = np = 16.000.

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

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

What is the probability of exactly 16 successes in 20 trials with p = 0.8?

0.2182.

What is the probability of at least one success?

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

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

Not reliably: np = 16.000 and n(1āˆ’p) = 4.000, and one is below 5.

Other n for the same p

Other p for the same n

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