WordGPT

Binomial distribution, n = 30, p = 0.5

For X ~ Binomial(n = 30, p = 0.5) the mean is 15.000, the variance 7.500 and the standard deviation 2.739. The most likely number of successes is 15, with probability 0.1445.

00.050.10.150.2681012141618202224kP(X = k)
P(X = k) for n = 30, p = 0.5; the orange bar is the most likely value, k = 15.

How to work it out

  1. 1

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

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

    P(X=15)=(3015) 0.515 0.515=0.1445P(X=15) = \binom{30}{15}\,0.5^{15}\,0.5^{15} = 0.1445
  4. 4

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

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

    Both np = 15.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{30}{k}\,0.5^{k}\,0.5^{30-k} \]
\[ X \sim \mathrm{Bin}(30,\ 0.5) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=15) = \binom{30}{15}\,0.5^{15}\,0.5^{15} = 0.1445 \]
\[ \mu = np = 15.000,\qquad \sigma = \sqrt{np(1-p)} = 2.739 \]

Binomial(30, 0.5) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
60.00060.00070.9998
70.00190.00260.9993
80.00550.00810.9974
90.01330.02140.9919
100.02800.04940.9786
110.05090.10020.9506
120.08060.18080.8998
130.11150.29230.8192
140.13540.42780.7077
150.14450.57220.5722
160.13540.70770.4278
170.11150.81920.2923
180.08060.89980.1808
190.05090.95060.1002
200.02800.97860.0494
210.01330.99190.0214
220.00550.99740.0081
230.00190.99930.0026
240.00060.99980.0007

Summary

QuantityValue
Mean np15.000
Variance np(1āˆ’p)7.500
Standard deviation2.739
Most likely value15
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 = 30 and p = 0.5?

μ = np = 15.000.

What is the standard deviation of Binomial(30, 0.5)?

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

What is the probability of exactly 15 successes in 30 trials with p = 0.5?

0.1445.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.5)^30 = 1.0000.

Can I use the normal approximation for n = 30, p = 0.5?

Yes: np = 15.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 = 30, p = 0.5: probabilities, mean and standard deviation | WordGPT