WordGPT

Binomial distribution, n = 25, p = 0.2

For X ~ Binomial(n = 25, p = 0.2) the mean is 5.000, the variance 4.000 and the standard deviation 2.000. The most likely number of successes is 5, with probability 0.1960.

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

How to work it out

  1. 1

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

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

    P(X=5)=(255) 0.25 0.820=0.1960P(X=5) = \binom{25}{5}\,0.2^{5}\,0.8^{20} = 0.1960
  4. 4

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

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

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

Binomial(25, 0.2) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
00.00380.00381.0000
10.02360.02740.9962
20.07080.09820.9726
30.13580.23400.9018
40.18670.42070.7660
50.19600.61670.5793
60.16330.78000.3833
70.11080.89090.2200
80.06230.95320.1091
90.02940.98270.0468
100.01180.99440.0173
110.00400.99850.0056
120.00120.99960.0015

Summary

QuantityValue
Mean np5.000
Variance np(1āˆ’p)4.000
Standard deviation2.000
Most likely value5
P(at least one success)0.9962
P(no success)0.0038
Normal approximation usableyes

Questions

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

μ = np = 5.000.

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

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

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

0.1960.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.2)^25 = 0.9962.

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

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

Other n for the same p

Other p for the same n

    Binomial distribution n = 25, p = 0.2: probabilities, mean and standard deviation | WordGPT