WordGPT

Binomial distribution, n = 40, p = 0.7

For X ~ Binomial(n = 40, p = 0.7) the mean is 28.000, the variance 8.400 and the standard deviation 2.898. The most likely number of successes is 28, with probability 0.1366.

00.050.10.150.218202224262830323436kP(X = k)
P(X = k) for n = 40, p = 0.7; the orange bar is the most likely value, k = 28.

How to work it out

  1. 1

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

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

    P(X=28)=(4028) 0.728 0.312=0.1366P(X=28) = \binom{40}{28}\,0.7^{28}\,0.3^{12} = 0.1366
  4. 4

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

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

    Both np = 28.000 and n(1āˆ’p) = 12.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{40}{k}\,0.7^{k}\,0.3^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.7) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=28) = \binom{40}{28}\,0.7^{28}\,0.3^{12} = 0.1366 \]
\[ \mu = np = 28.000,\qquad \sigma = \sqrt{np(1-p)} = 2.898 \]

Binomial(40, 0.7) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
180.00060.00090.9997
190.00160.00240.9991
200.00380.00630.9976
210.00850.01480.9937
220.01720.03200.9852
230.03140.06330.9680
240.05180.11510.9367
250.07740.19260.8849
260.10420.29680.8074
270.12610.42280.7032
280.13660.55940.5772
290.13190.69130.4406
300.11280.80410.3087
310.08490.88900.1959
320.05570.94470.1110
330.03150.97620.0553
340.01510.99140.0238
350.00610.99740.0086
360.00200.99940.0026
370.00050.99990.0006

Summary

QuantityValue
Mean np28.000
Variance np(1āˆ’p)8.400
Standard deviation2.898
Most likely value28
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 = 40 and p = 0.7?

μ = np = 28.000.

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

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

What is the probability of exactly 28 successes in 40 trials with p = 0.7?

0.1366.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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