WordGPT

Binomial distribution, n = 30, p = 0.7

For X ~ Binomial(n = 30, p = 0.7) the mean is 21.000, the variance 6.300 and the standard deviation 2.510. The most likely number of successes is 21, with probability 0.1573.

00.050.10.150.2121416182022242628kP(X = k)
P(X = k) for n = 30, p = 0.7; the orange bar is the most likely value, k = 21.

How to work it out

  1. 1

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

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

    P(X=21)=(3021) 0.721 0.39=0.1573P(X=21) = \binom{30}{21}\,0.7^{21}\,0.3^{9} = 0.1573
  4. 4

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

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

    Both np = 21.000 and n(1āˆ’p) = 9.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.7^{k}\,0.3^{30-k} \]
\[ X \sim \mathrm{Bin}(30,\ 0.7) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=21) = \binom{30}{21}\,0.7^{21}\,0.3^{9} = 0.1573 \]
\[ \mu = np = 21.000,\qquad \sigma = \sqrt{np(1-p)} = 2.510 \]

Binomial(30, 0.7) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
120.00050.00060.9998
130.00150.00210.9994
140.00420.00640.9979
150.01060.01690.9936
160.02310.04010.9831
170.04440.08450.9599
180.07490.15930.9155
190.11030.26960.8407
200.14160.41120.7304
210.15730.56850.5888
220.15010.71860.4315
230.12190.84050.2814
240.08290.92340.1595
250.04640.96980.0766
260.02080.99070.0302
270.00720.99790.0093
280.00180.99970.0021

Summary

QuantityValue
Mean np21.000
Variance np(1āˆ’p)6.300
Standard deviation2.510
Most likely value21
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.7?

μ = np = 21.000.

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

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

What is the probability of exactly 21 successes in 30 trials with p = 0.7?

0.1573.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

    Binomial distribution n = 30, p = 0.7: probabilities, mean and standard deviation | WordGPT