WordGPT

Binomial distribution, n = 100, p = 0.4

For X ~ Binomial(n = 100, p = 0.4) the mean is 40.000, the variance 24.000 and the standard deviation 4.899. The most likely number of successes is 40, with probability 0.0812.

00.0250.050.0750.125272931333537394143454749515355kP(X = k)
P(X = k) for n = 100, p = 0.4; the orange bar is the most likely value, k = 40.

How to work it out

  1. 1

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

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

    P(X=40)=(10040) 0.440 0.660=0.0812P(X=40) = \binom{100}{40}\,0.4^{40}\,0.6^{60} = 0.0812
  4. 4

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

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

    Both np = 40.000 and n(1āˆ’p) = 60.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.4^{k}\,0.6^{100-k} \]
\[ X \sim \mathrm{Bin}(100,\ 0.4) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=40) = \binom{100}{40}\,0.4^{40}\,0.6^{60} = 0.0812 \]
\[ \mu = np = 40.000,\qquad \sigma = \sqrt{np(1-p)} = 4.899 \]

Binomial(100, 0.4) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
250.00060.00120.9994
260.00120.00240.9988
270.00220.00460.9976
280.00380.00840.9954
290.00630.01480.9916
300.01000.02480.9852
310.01510.03980.9752
320.02170.06150.9602
330.02970.09130.9385
340.03910.13030.9087
350.04910.17950.8697
360.05910.23860.8205
370.06820.30680.7614
380.07540.38220.6932
390.07990.46210.6178
400.08120.54330.5379
410.07920.62250.4567
420.07420.69670.3775
430.06670.76350.3033
440.05760.82110.2365
450.04780.86890.1789
460.03810.90700.1311
470.02920.93620.0930
480.02150.95770.0638
490.01520.97290.0423
500.01030.98320.0271
510.00680.99000.0168
520.00420.99420.0100
530.00260.99680.0058
540.00150.99830.0032
550.00080.99910.0017
560.00040.99960.0009

Summary

QuantityValue
Mean np40.000
Variance np(1āˆ’p)24.000
Standard deviation4.899
Most likely value40
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.4?

μ = np = 40.000.

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

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

What is the probability of exactly 40 successes in 100 trials with p = 0.4?

0.0812.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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