WordGPT

Binomial distribution, n = 40, p = 0.9

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

00.0630.130.190.25293031323334353637383940kP(X = k)
P(X = k) for n = 40, p = 0.9; the orange bar is the most likely value, k = 36.

How to work it out

  1. 1

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

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

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

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

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

Binomial(40, 0.9) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
290.00110.00150.9996
300.00360.00510.9985
310.01040.01550.9949
320.02640.04190.9845
330.05760.09950.9581
340.10680.20630.9005
350.16470.37100.7937
360.20590.57690.6290
370.20030.77720.4231
380.14230.91950.2228
390.06570.98520.0805
400.01481.00000.0148

Summary

QuantityValue
Mean np36.000
Variance np(1āˆ’p)3.600
Standard deviation1.897
Most likely value36
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 = 40 and p = 0.9?

μ = np = 36.000.

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

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

What is the probability of exactly 36 successes in 40 trials with p = 0.9?

0.2059.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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