WordGPT

Binomial distribution, n = 40, p = 0.1

For X ~ Binomial(n = 40, p = 0.1) the mean is 4.000, the variance 3.600 and the standard deviation 1.897. The most likely number of successes is 4, with probability 0.2059.

00.0630.130.190.2501234567891011kP(X = k)
P(X = k) for n = 40, p = 0.1; the orange bar is the most likely value, k = 4.

How to work it out

  1. 1

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

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

    P(X=4)=(404) 0.14 0.936=0.2059P(X=4) = \binom{40}{4}\,0.1^{4}\,0.9^{36} = 0.2059
  4. 4

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

    μ=np=4.000,σ=np(1āˆ’p)=1.897\mu = np = 4.000,\qquad \sigma = \sqrt{np(1-p)} = 1.897
  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{40}{k}\,0.1^{k}\,0.9^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.1) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=4) = \binom{40}{4}\,0.1^{4}\,0.9^{36} = 0.2059 \]
\[ \mu = np = 4.000,\qquad \sigma = \sqrt{np(1-p)} = 1.897 \]

Binomial(40, 0.1) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
00.01480.01481.0000
10.06570.08050.9852
20.14230.22280.9195
30.20030.42310.7772
40.20590.62900.5769
50.16470.79370.3710
60.10680.90050.2063
70.05760.95810.0995
80.02640.98450.0419
90.01040.99490.0155
100.00360.99850.0051
110.00110.99960.0015

Summary

QuantityValue
Mean np4.000
Variance np(1āˆ’p)3.600
Standard deviation1.897
Most likely value4
P(at least one success)0.9852
P(no success)0.0148
Normal approximation usableno

Questions

What is the mean of a binomial with n = 40 and p = 0.1?

μ = np = 4.000.

What is the standard deviation of Binomial(40, 0.1)?

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

What is the probability of exactly 4 successes in 40 trials with p = 0.1?

0.2059.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.1)^40 = 0.9852.

Can I use the normal approximation for n = 40, p = 0.1?

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

Other n for the same p

Other p for the same n

    Binomial distribution n = 40, p = 0.1: probabilities, mean and standard deviation | WordGPT