WordGPT

Binomial distribution, n = 25, p = 0.8

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

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

How to work it out

  1. 1

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

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

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

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

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

Binomial(25, 0.8) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
130.00120.00150.9996
140.00400.00560.9985
150.01180.01730.9944
160.02940.04680.9827
170.06230.10910.9532
180.11080.22000.8909
190.16330.38330.7800
200.19600.57930.6167
210.18670.76600.4207
220.13580.90180.2340
230.07080.97260.0982
240.02360.99620.0274
250.00381.00000.0038

Summary

QuantityValue
Mean np20.000
Variance np(1āˆ’p)4.000
Standard deviation2.000
Most likely value20
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 = 25 and p = 0.8?

μ = np = 20.000.

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

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

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

0.1960.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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