WordGPT

Binomial distribution, n = 20, p = 0.7

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

00.050.10.150.27891011121314151617181920kP(X = k)
P(X = k) for n = 20, p = 0.7; the orange bar is the most likely value, k = 14.

How to work it out

  1. 1

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

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

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

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

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

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

Binomial(20, 0.7) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
70.00100.00130.9997
80.00390.00510.9987
90.01200.01710.9949
100.03080.04800.9829
110.06540.11330.9520
120.11440.22770.8867
130.16430.39200.7723
140.19160.58360.6080
150.17890.76250.4164
160.13040.89290.2375
170.07160.96450.1071
180.02780.99240.0355
190.00680.99920.0076
200.00081.00000.0008

Summary

QuantityValue
Mean np14.000
Variance np(1āˆ’p)4.200
Standard deviation2.049
Most likely value14
P(at least one success)1.0000
P(no success)0.0000
Normal approximation usableyes

Questions

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

μ = np = 14.000.

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

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

What is the probability of exactly 14 successes in 20 trials with p = 0.7?

0.1916.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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