WordGPT

Binomial distribution, n = 40, p = 0.6

For X ~ Binomial(n = 40, p = 0.6) the mean is 24.000, the variance 9.600 and the standard deviation 3.098. The most likely number of successes is 24, with probability 0.1279.

00.050.10.150.21416182022242628303234kP(X = k)
P(X = k) for n = 40, p = 0.6; the orange bar is the most likely value, k = 24.

How to work it out

  1. 1

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

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

    P(X=24)=(4024) 0.624 0.416=0.1279P(X=24) = \binom{40}{24}\,0.6^{24}\,0.4^{16} = 0.1279
  4. 4

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

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

    Both np = 24.000 and n(1āˆ’p) = 16.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.6^{k}\,0.4^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.6) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=24) = \binom{40}{24}\,0.6^{24}\,0.4^{16} = 0.1279 \]
\[ \mu = np = 24.000,\qquad \sigma = \sqrt{np(1-p)} = 3.098 \]

Binomial(40, 0.6) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
140.00080.00120.9996
150.00210.00340.9988
160.00500.00830.9966
170.01060.01890.9917
180.02030.03920.9811
190.03520.07440.9608
200.05540.12980.9256
210.07920.20890.8702
220.10260.31150.7911
230.12040.43190.6885
240.12790.55980.5681
250.12280.68260.4402
260.10630.78880.3174
270.08270.87150.2112
280.05760.92910.1285
290.03570.96480.0709
300.01960.98440.0352
310.00950.99390.0156
320.00400.99790.0061
330.00150.99940.0021
340.00050.99990.0006

Summary

QuantityValue
Mean np24.000
Variance np(1āˆ’p)9.600
Standard deviation3.098
Most likely value24
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.6?

μ = np = 24.000.

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

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

What is the probability of exactly 24 successes in 40 trials with p = 0.6?

0.1279.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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