WordGPT

Binomial distribution, n = 100, p = 0.2

For X ~ Binomial(n = 100, p = 0.2) the mean is 20.000, the variance 16.000 and the standard deviation 4.000. The most likely number of successes is 20, with probability 0.0993.

00.0250.050.0750.1810121416182022242628303234kP(X = k)
P(X = k) for n = 100, p = 0.2; the orange bar is the most likely value, k = 20.

How to work it out

  1. 1

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

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

    P(X=20)=(10020) 0.220 0.880=0.0993P(X=20) = \binom{100}{20}\,0.2^{20}\,0.8^{80} = 0.0993
  4. 4

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

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

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

Binomial(100, 0.2) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
80.00060.00090.9997
90.00150.00230.9991
100.00340.00570.9977
110.00690.01260.9943
120.01280.02530.9874
130.02160.04690.9747
140.03350.08040.9531
150.04810.12850.9196
160.06380.19230.8715
170.07890.27120.8077
180.09090.36210.7288
190.09810.46020.6379
200.09930.55950.5398
210.09460.65400.4405
220.08490.73890.3460
230.07200.81090.2611
240.05770.86860.1891
250.04390.91250.1314
260.03160.94420.0875
270.02170.96580.0558
280.01410.98000.0342
290.00880.98880.0200
300.00520.99390.0112
310.00290.99690.0061
320.00160.99840.0031
330.00080.99930.0016
340.00040.99970.0007

Summary

QuantityValue
Mean np20.000
Variance np(1āˆ’p)16.000
Standard deviation4.000
Most likely value20
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 = 100 and p = 0.2?

μ = np = 20.000.

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

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

What is the probability of exactly 20 successes in 100 trials with p = 0.2?

0.0993.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.2)^100 = 1.0000.

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

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

Other n for the same p

Other p for the same n

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