WordGPT

Binomial distribution, n = 20, p = 0.3

For X ~ Binomial(n = 20, p = 0.3) the mean is 6.000, the variance 4.200 and the standard deviation 2.049. The most likely number of successes is 6, with probability 0.1916.

00.050.10.150.2012345678910111213kP(X = k)
P(X = k) for n = 20, p = 0.3; the orange bar is the most likely value, k = 6.

How to work it out

  1. 1

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

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

    P(X=6)=(206) 0.36 0.714=0.1916P(X=6) = \binom{20}{6}\,0.3^{6}\,0.7^{14} = 0.1916
  4. 4

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

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

    Both np = 6.000 and n(1āˆ’p) = 14.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.3^{k}\,0.7^{20-k} \]
\[ X \sim \mathrm{Bin}(20,\ 0.3) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=6) = \binom{20}{6}\,0.3^{6}\,0.7^{14} = 0.1916 \]
\[ \mu = np = 6.000,\qquad \sigma = \sqrt{np(1-p)} = 2.049 \]

Binomial(20, 0.3) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
00.00080.00081.0000
10.00680.00760.9992
20.02780.03550.9924
30.07160.10710.9645
40.13040.23750.8929
50.17890.41640.7625
60.19160.60800.5836
70.16430.77230.3920
80.11440.88670.2277
90.06540.95200.1133
100.03080.98290.0480
110.01200.99490.0171
120.00390.99870.0051
130.00100.99970.0013

Summary

QuantityValue
Mean np6.000
Variance np(1āˆ’p)4.200
Standard deviation2.049
Most likely value6
P(at least one success)0.9992
P(no success)0.0008
Normal approximation usableyes

Questions

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

μ = np = 6.000.

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

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

What is the probability of exactly 6 successes in 20 trials with p = 0.3?

0.1916.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.3)^20 = 0.9992.

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

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

Other n for the same p

Other p for the same n

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