WordGPT

Binomial distribution, n = 50, p = 0.4

For X ~ Binomial(n = 50, p = 0.4) the mean is 20.000, the variance 12.000 and the standard deviation 3.464. The most likely number of successes is 20, with probability 0.1146.

00.050.10.150.291113151719212325272931kP(X = k)
P(X = k) for n = 50, p = 0.4; the orange bar is the most likely value, k = 20.

How to work it out

  1. 1

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

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

    P(X=20)=(5020) 0.420 0.630=0.1146P(X=20) = \binom{50}{20}\,0.4^{20}\,0.6^{30} = 0.1146
  4. 4

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

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

    Both np = 20.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{50}{k}\,0.4^{k}\,0.6^{50-k} \]
\[ X \sim \mathrm{Bin}(50,\ 0.4) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=20) = \binom{50}{20}\,0.4^{20}\,0.6^{30} = 0.1146 \]
\[ \mu = np = 20.000,\qquad \sigma = \sqrt{np(1-p)} = 3.464 \]

Binomial(50, 0.4) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
90.00050.00080.9998
100.00140.00220.9992
110.00350.00570.9978
120.00760.01330.9943
130.01470.02800.9867
140.02600.05400.9720
150.04150.09550.9460
160.06060.15610.9045
170.08080.23690.8439
180.09870.33560.7631
190.11090.44650.6644
200.11460.56100.5535
210.10910.67010.4390
220.09590.76600.3299
230.07780.84380.2340
240.05840.90220.1562
250.04050.94270.0978
260.02590.96860.0573
270.01540.98400.0314
280.00840.99240.0160
290.00430.99660.0076
300.00200.99860.0034
310.00090.99950.0014

Summary

QuantityValue
Mean np20.000
Variance np(1āˆ’p)12.000
Standard deviation3.464
Most likely value20
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 = 50 and p = 0.4?

μ = np = 20.000.

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

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

What is the probability of exactly 20 successes in 50 trials with p = 0.4?

0.1146.

What is the probability of at least one success?

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

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

Yes: np = 20.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 = 50, p = 0.4: probabilities, mean and standard deviation | WordGPT