WordGPT

Binomial distribution, n = 25, p = 0.4

For X ~ Binomial(n = 25, p = 0.4) the mean is 10.000, the variance 6.000 and the standard deviation 2.449. The most likely number of successes is 10, with probability 0.1612.

00.050.10.150.23456789101112131415161718kP(X = k)
P(X = k) for n = 25, p = 0.4; the orange bar is the most likely value, k = 10.

How to work it out

  1. 1

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

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

    P(X=10)=(2510) 0.410 0.615=0.1612P(X=10) = \binom{25}{10}\,0.4^{10}\,0.6^{15} = 0.1612
  4. 4

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

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

    Both np = 10.000 and n(1āˆ’p) = 15.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{25}{k}\,0.4^{k}\,0.6^{25-k} \]
\[ X \sim \mathrm{Bin}(25,\ 0.4) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=10) = \binom{25}{10}\,0.4^{10}\,0.6^{15} = 0.1612 \]
\[ \mu = np = 10.000,\qquad \sigma = \sqrt{np(1-p)} = 2.449 \]

Binomial(25, 0.4) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
30.00190.00240.9996
40.00710.00950.9976
50.01990.02940.9905
60.04420.07360.9706
70.08000.15360.9264
80.12000.27350.8464
90.15110.42460.7265
100.16120.58580.5754
110.14650.73230.4142
120.11400.84620.2677
130.07600.92220.1538
140.04340.96560.0778
150.02120.98680.0344
160.00880.99570.0132
170.00310.99880.0043
180.00090.99970.0012

Summary

QuantityValue
Mean np10.000
Variance np(1āˆ’p)6.000
Standard deviation2.449
Most likely value10
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 = 25 and p = 0.4?

μ = np = 10.000.

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

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

What is the probability of exactly 10 successes in 25 trials with p = 0.4?

0.1612.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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