WordGPT

Binomial distribution, n = 5, p = 0.7

For X ~ Binomial(n = 5, p = 0.7) the mean is 3.500, the variance 1.050 and the standard deviation 1.025. The most likely number of successes is 4, with probability 0.3602.

00.130.250.380.5012345kP(X = k)
P(X = k) for n = 5, p = 0.7; the orange bar is the most likely value, k = 4.

How to work it out

  1. 1

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

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

    P(X=4)=(54) 0.74 0.31=0.3602P(X=4) = \binom{5}{4}\,0.7^{4}\,0.3^{1} = 0.3602
  4. 4

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

    μ=np=3.500,σ=np(1āˆ’p)=1.025\mu = np = 3.500,\qquad \sigma = \sqrt{np(1-p)} = 1.025
  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.7^{k}\,0.3^{5-k} \]
\[ X \sim \mathrm{Bin}(5,\ 0.7) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=4) = \binom{5}{4}\,0.7^{4}\,0.3^{1} = 0.3602 \]
\[ \mu = np = 3.500,\qquad \sigma = \sqrt{np(1-p)} = 1.025 \]

Binomial(5, 0.7) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
00.00240.00241.0000
10.02840.03080.9976
20.13230.16310.9692
30.30870.47180.8369
40.36020.83190.5282
50.16811.00000.1681

Summary

QuantityValue
Mean np3.500
Variance np(1āˆ’p)1.050
Standard deviation1.025
Most likely value4
P(at least one success)0.9976
P(no success)0.0024
Normal approximation usableno

Questions

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

μ = np = 3.500.

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

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

What is the probability of exactly 4 successes in 5 trials with p = 0.7?

0.3602.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.7)^5 = 0.9976.

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

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

Other n for the same p

Other p for the same n

    Binomial distribution n = 5, p = 0.7: probabilities, mean and standard deviation | WordGPT