WordGPT

Binomial distribution, n = 5, p = 0.2

For X ~ Binomial(n = 5, p = 0.2) the mean is 1.000, the variance 0.800 and the standard deviation 0.894. The most likely number of successes is 1, with probability 0.4096.

00.130.250.380.501234kP(X = k)
P(X = k) for n = 5, p = 0.2; the orange bar is the most likely value, k = 1.

How to work it out

  1. 1

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

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

    P(X=1)=(51) 0.21 0.84=0.4096P(X=1) = \binom{5}{1}\,0.2^{1}\,0.8^{4} = 0.4096
  4. 4

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

    μ=np=1.000,σ=np(1āˆ’p)=0.894\mu = np = 1.000,\qquad \sigma = \sqrt{np(1-p)} = 0.894
  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{5}{k}\,0.2^{k}\,0.8^{5-k} \]
\[ X \sim \mathrm{Bin}(5,\ 0.2) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=1) = \binom{5}{1}\,0.2^{1}\,0.8^{4} = 0.4096 \]
\[ \mu = np = 1.000,\qquad \sigma = \sqrt{np(1-p)} = 0.894 \]

Binomial(5, 0.2) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
00.32770.32771.0000
10.40960.73730.6723
20.20480.94210.2627
30.05120.99330.0579
40.00640.99970.0067

Summary

QuantityValue
Mean np1.000
Variance np(1āˆ’p)0.800
Standard deviation0.894
Most likely value1
P(at least one success)0.6723
P(no success)0.3277
Normal approximation usableno

Questions

What is the mean of a binomial with n = 5 and p = 0.2?

μ = np = 1.000.

What is the standard deviation of Binomial(5, 0.2)?

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

What is the probability of exactly 1 successes in 5 trials with p = 0.2?

0.4096.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.2)^5 = 0.6723.

Can I use the normal approximation for n = 5, p = 0.2?

Not reliably: np = 1.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 = 5, p = 0.2: probabilities, mean and standard deviation | WordGPT