WordGPT

Binomial distribution, n = 30, p = 0.3

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

00.050.10.150.224681012141618kP(X = k)
P(X = k) for n = 30, p = 0.3; the orange bar is the most likely value, k = 9.

How to work it out

  1. 1

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

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

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

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

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

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

Binomial(30, 0.3) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
20.00180.00210.9997
30.00720.00930.9979
40.02080.03020.9907
50.04640.07660.9698
60.08290.15950.9234
70.12190.28140.8405
80.15010.43150.7186
90.15730.58880.5685
100.14160.73040.4112
110.11030.84070.2696
120.07490.91550.1593
130.04440.95990.0845
140.02310.98310.0401
150.01060.99360.0169
160.00420.99790.0064
170.00150.99940.0021
180.00050.99980.0006

Summary

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

μ = np = 9.000.

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

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

What is the probability of exactly 9 successes in 30 trials with p = 0.3?

0.1573.

What is the probability of at least one success?

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

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

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

Other n for the same p

Other p for the same n

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