WordGPT

Binomial distribution, n = 40, p = 0.25

For X ~ Binomial(n = 40, p = 0.25) the mean is 10.000, the variance 7.500 and the standard deviation 2.739. The most likely number of successes is 10, with probability 0.1444.

00.050.10.150.224681012141618kP(X = k)
P(X = k) for n = 40, p = 0.25; the orange bar is the most likely value, k = 10.

How to work it out

  1. 1

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

    X∼Bin(40, 0.25)X \sim \mathrm{Bin}(40,\ 0.25)
  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)=(4010) 0.2510 0.7530=0.1444P(X=10) = \binom{40}{10}\,0.25^{10}\,0.75^{30} = 0.1444
  4. 4

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

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

    Both np = 10.000 and n(1āˆ’p) = 30.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.25^{k}\,0.75^{40-k} \]
\[ X \sim \mathrm{Bin}(40,\ 0.25) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=10) = \binom{40}{10}\,0.25^{10}\,0.75^{30} = 0.1444 \]
\[ \mu = np = 10.000,\qquad \sigma = \sqrt{np(1-p)} = 2.739 \]

Binomial(40, 0.25) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
20.00090.00100.9999
30.00370.00470.9990
40.01130.01600.9953
50.02720.04330.9840
60.05300.09620.9567
70.08570.18200.9038
80.11790.29980.8180
90.13970.43950.7002
100.14440.58390.5605
110.13120.71510.4161
120.10570.82090.2849
130.07590.89680.1791
140.04880.94560.1032
150.02820.97380.0544
160.01470.98840.0262
170.00690.99530.0116
180.00290.99830.0047
190.00110.99940.0017

Summary

QuantityValue
Mean np10.000
Variance np(1āˆ’p)7.500
Standard deviation2.739
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 = 40 and p = 0.25?

μ = np = 10.000.

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

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

What is the probability of exactly 10 successes in 40 trials with p = 0.25?

0.1444.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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