WordGPT

Binomial distribution, n = 20, p = 0.9

For X ~ Binomial(n = 20, p = 0.9) the mean is 18.000, the variance 1.800 and the standard deviation 1.342. The most likely number of successes is 18, with probability 0.2852.

00.130.250.380.51314151617181920kP(X = k)
P(X = k) for n = 20, p = 0.9; the orange bar is the most likely value, k = 18.

How to work it out

  1. 1

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

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

    P(X=18)=(2018) 0.918 0.12=0.2852P(X=18) = \binom{20}{18}\,0.9^{18}\,0.1^{2} = 0.2852
  4. 4

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

    μ=np=18.000,σ=np(1āˆ’p)=1.342\mu = np = 18.000,\qquad \sigma = \sqrt{np(1-p)} = 1.342
  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{20}{k}\,0.9^{k}\,0.1^{20-k} \]
\[ X \sim \mathrm{Bin}(20,\ 0.9) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=18) = \binom{20}{18}\,0.9^{18}\,0.1^{2} = 0.2852 \]
\[ \mu = np = 18.000,\qquad \sigma = \sqrt{np(1-p)} = 1.342 \]

Binomial(20, 0.9) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
130.00200.00240.9996
140.00890.01130.9976
150.03190.04320.9887
160.08980.13300.9568
170.19010.32310.8670
180.28520.60830.6769
190.27020.87840.3917
200.12161.00000.1216

Summary

QuantityValue
Mean np18.000
Variance np(1āˆ’p)1.800
Standard deviation1.342
Most likely value18
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 = 20 and p = 0.9?

μ = np = 18.000.

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

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

What is the probability of exactly 18 successes in 20 trials with p = 0.9?

0.2852.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.9)^20 = 1.0000.

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

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

Other n for the same p

Other p for the same n

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