WordGPT

Binomial distribution, n = 20, p = 0.25

For X ~ Binomial(n = 20, p = 0.25) the mean is 5.000, the variance 3.750 and the standard deviation 1.936. The most likely number of successes is 5, with probability 0.2023.

00.0630.130.190.250123456789101112kP(X = k)
P(X = k) for n = 20, p = 0.25; the orange bar is the most likely value, k = 5.

How to work it out

  1. 1

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

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

    P(X=5)=(205) 0.255 0.7515=0.2023P(X=5) = \binom{20}{5}\,0.25^{5}\,0.75^{15} = 0.2023
  4. 4

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

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

    Both np = 5.000 and n(1āˆ’p) = 15.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.25^{k}\,0.75^{20-k} \]
\[ X \sim \mathrm{Bin}(20,\ 0.25) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=5) = \binom{20}{5}\,0.25^{5}\,0.75^{15} = 0.2023 \]
\[ \mu = np = 5.000,\qquad \sigma = \sqrt{np(1-p)} = 1.936 \]

Binomial(20, 0.25) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
00.00320.00321.0000
10.02110.02430.9968
20.06690.09130.9757
30.13390.22520.9087
40.18970.41480.7748
50.20230.61720.5852
60.16860.78580.3828
70.11240.89820.2142
80.06090.95910.1018
90.02710.98610.0409
100.00990.99610.0139
110.00300.99910.0039
120.00080.99980.0009

Summary

QuantityValue
Mean np5.000
Variance np(1āˆ’p)3.750
Standard deviation1.936
Most likely value5
P(at least one success)0.9968
P(no success)0.0032
Normal approximation usableyes

Questions

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

μ = np = 5.000.

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

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

What is the probability of exactly 5 successes in 20 trials with p = 0.25?

0.2023.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.25)^20 = 0.9968.

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

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

Other n for the same p

Other p for the same n

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